You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segmentation fault in running compile() with large expression size. #2780
Calling function compile() in "single" mode to compile large size expression can cause a segmentation fault On RustPython. See the following example. The example cause segmentation fault on Rust Python 0.1.2 interpreter when n > 10000, e.g. n = 1000,100000,1000000
test.py
mylist = []
n = 10000
print(compile("mylist"+"+mylist"*n,'','single'))
Activity