summaryrefslogtreecommitdiff
path: root/deps/lua/src/lua_struct.c
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] revisit CVE-2015-8080 vulnerabilitySeunghoon Woo2020-02-101-4/+6
|
* Security: fix Lua struct package offset handling.antirez2018-06-131-2/+6
| | | | | | | | | | After the first fix to the struct package I found another similar problem, which is fixed by this patch. It could be reproduced easily by running the following script: return struct.unpack('f', "xxxxxxxxxxxxx",-3) The above will access bytes before the 'data' pointer.
* Security: update Lua struct package for security.antirez2018-06-131-23/+23
| | | | | | | | | | | | During an auditing Apple found that the "struct" Lua package we ship with Redis (http://www.inf.puc-rio.br/~roberto/struct/) contains a security problem. A bound-checking statement fails because of integer overflow. The bug exists since we initially integrated this package with Lua, when scripting was introduced, so every version of Redis with EVAL/EVALSHA capabilities exposed is affected. Instead of just fixing the bug, the library was updated to the latest version shipped by the author.
* lua_struct.c/getnum: throw error if overflow happenSun He2015-12-131-4/+6
| | | | Fix issue #2855
* Lua struct library updated to version 0.2.antirez2013-01-231-52/+119
| | | | | | | | | | | | There was a bug in the previous version of this library that caused a crash under the circumstances described in issue #901. The newer version of the library appears to be fixed (I tested it manually with valgrind and everything seems fine now). For more information about this library please visit this web site: http://www.inf.puc-rio.br/~roberto/struct/
* added lua struct c extensionlsbardel2012-02-131-0/+354