Open
Description
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
).