[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Stack overflow in lsys_load (lua/loadlib.c:134)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 4 Sep 2020 16:56:38 -0300
> > Stack overflow in lsys_load (lua/loadlib.c:134)
> >
> > [...]
Python 3 has the same issue (which reinforces the blame on dlopen):
$ python3
Python 3.6.9 (default, Jul 17 2020, 12:50:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> x = 'a' * 10000000
>>> cdll.LoadLibrary(x)
Segmentation fault (core dumped)
-- Roberto