Go to file
Roberto Ierusalimschy 1221e987fe Bug: Long brackets with a huge number of '=' causes overflow
A long bracket with too many equal signs can overflow the 'int' used for
the counting and some arithmetic done on the value. Changing the counter
to 'size_t' avoids that. (Because what is counted goes to a buffer, an
overflow in the counter will first raise a buffer-overflow error.)
2018-12-17 15:36:51 -02:00
manual Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
testes Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
all Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
bugs bug: When a coroutine tries to resume a non-suspended coroutine, 2016-10-19 10:34:27 -02:00
lapi.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lapi.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lauxlib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lauxlib.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lbaselib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lbitlib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lcode.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lcode.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lcorolib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lctype.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lctype.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ldblib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ldebug.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ldebug.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ldo.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ldo.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ldump.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lfunc.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lfunc.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lgc.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lgc.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
linit.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
liolib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
llex.c Bug: Long brackets with a huge number of '=' causes overflow 2018-12-17 15:36:51 -02:00
llex.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
llimits.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lmathlib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lmem.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lmem.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
loadlib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lobject.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lobject.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lopcodes.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lopcodes.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
loslib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lparser.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lparser.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lprefix.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lstate.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lstate.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lstring.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lstring.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lstrlib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ltable.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ltable.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ltablib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ltests.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ltests.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ltm.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
ltm.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lua.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lua.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
luaconf.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lualib.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lundump.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lundump.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lutf8lib.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lvm.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lvm.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lzio.c Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
lzio.h Lua 5.3.5 ported to git 2018-12-17 14:46:37 -02:00
makefile small updates 2017-01-31 19:17:47 -02:00