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
There is a known unsafety with os.date() in Lua 5.1 (because format strings are passed straight to the C strftime). http://lua-users.org/lists/lua-l/2008-09/msg00146.html
Lua 5.2+ check the strings before passing them to strftime. rlua should do something similar for Lua 5.1 (perhaps replace os.date() with one which uses a Rust library such as time or chrono).
The text was updated successfully, but these errors were encountered:
There is a known unsafety with
os.date()
in Lua 5.1 (because format strings are passed straight to the C strftime).http://lua-users.org/lists/lua-l/2008-09/msg00146.html
Lua 5.2+ check the strings before passing them to strftime. rlua should do something similar for Lua 5.1 (perhaps replace
os.date()
with one which uses a Rust library such astime
orchrono
).The text was updated successfully, but these errors were encountered: