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
At least on macOS, `strlen(getenv("TMPDIR"))` is 50. We now allow a /tmp
that takes up to 120 or so bytes to spell. Instead of overflowing, we do
a bounds check and the function fails successfully on even longer /tmps.
Fixesjart#1108 (os.tmpname crashes redbean)
Trying to use
os.tmpname
crashes redbean. I've been able to reproduce this in both Windows (native), Windows (WSL) and mac OS.This is a stack trace:
The text was updated successfully, but these errors were encountered: