Go to file
Roberto Ierusalimschy 57f5b81da9 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-14 13:12:01 -02:00
manual New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
testes New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
all Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
bugs Bug: Long brackets with a huge number of '=' causes overflow 2018-12-14 13:12:01 -02:00
lapi.c A to-be-closed variable must have a closable value (or be nil) 2018-11-29 16:02:44 -02:00
lapi.h To-be-closed variables in the C API 2018-10-25 15:30:15 -03:00
lauxlib.c Better error messages for some polymorphic functions 2018-12-10 13:46:03 -02:00
lauxlib.h Better error messages for some polymorphic functions 2018-12-10 13:46:03 -02:00
lbaselib.c Details 2018-12-11 11:54:14 -02:00
lcode.c Added opcodes for arithmetic with K operands 2018-11-23 12:23:45 -02:00
lcode.h Big revamp in the implmentation of labels/gotos 2018-10-29 14:26:48 -03:00
lcorolib.c New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
lctype.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lctype.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldblib.c Better error messages for some polymorphic functions 2018-12-10 13:46:03 -02:00
ldebug.c A to-be-closed variable must have a closable value (or be nil) 2018-11-29 16:02:44 -02:00
ldebug.h A to-be-closed variable must have a closable value (or be nil) 2018-11-29 16:02:44 -02:00
ldo.c New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
ldo.h First "complete" implementation of to-be-closed variables 2018-10-17 10:44:42 -03:00
ldump.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lfunc.c New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
lfunc.h New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
lgc.c Removed internal cache for closures 2018-11-01 13:21:00 -03:00
lgc.h Removed internal cache for closures 2018-11-01 13:21:00 -03:00
linit.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
liolib.c To-be-closed variable in 'for' loop separated from the state 2018-11-07 14:42:05 -02:00
ljumptab.h Some bugs with stack reallocation by 'luaF_close' 2018-11-24 11:59:15 -02:00
llex.c Bug: Long brackets with a huge number of '=' causes overflow 2018-12-14 13:12:01 -02:00
llex.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
llimits.h Details (comments) 2018-09-11 08:39:12 -03:00
lmathlib.c 'math.rand()' uses higher bits to produce float value 2018-12-11 11:34:47 -02:00
lmem.c Detail: bad assertion in 'luaM_free_' 2018-10-23 12:58:38 -03:00
lmem.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
loadlib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lobject.c New macros for arithmetic/bitwise operations in 'luaV_execute' 2018-11-05 16:10:42 -02:00
lobject.h Removed internal cache for closures 2018-11-01 13:21:00 -03:00
lopcodes.c Added opcodes for arithmetic with K operands 2018-11-23 12:23:45 -02:00
lopcodes.h Added opcodes for arithmetic with K operands 2018-11-23 12:23:45 -02:00
lopnames.h Added opcodes for arithmetic with K operands 2018-11-23 12:23:45 -02:00
loslib.c Removed resource-related "emergency collections" 2018-10-31 16:25:29 -03:00
lparser.c Calls cannot be tail in the scope of a to-be-closed variable 2018-12-04 15:01:42 -02:00
lparser.h Details 2018-11-22 13:56:04 -02:00
lprefix.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstate.c New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
lstate.h Removed internal cache for closures 2018-11-01 13:21:00 -03:00
lstring.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstring.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstrlib.c Better error messages for some polymorphic functions 2018-12-10 13:46:03 -02:00
ltable.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltable.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltablib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltests.c New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
ltests.h Added opcodes for arithmetic with K operands 2018-11-23 12:23:45 -02:00
ltm.c New macros for arithmetic/bitwise operations in 'luaV_execute' 2018-11-05 16:10:42 -02:00
ltm.h New macros for arithmetic/bitwise operations in 'luaV_execute' 2018-11-05 16:10:42 -02:00
lua.c Removed use of 'rl_inhibit_completion' in 'lua.c' 2018-08-16 14:38:05 -03:00
lua.h New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
luaconf.h Visibility of non-API functions changed to "internal" 2018-11-13 13:58:46 -02:00
lualib.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lundump.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lundump.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lutf8lib.c Avoid using 'int' for UTF-8 values 2018-07-12 15:56:44 -03:00
lvm.c New functions 'lua_resetthread' and 'coroutine.kill' 2018-12-13 13:07:53 -02:00
lvm.h New macros for arithmetic/bitwise operations in 'luaV_execute' 2018-11-05 16:10:42 -02:00
lzio.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lzio.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
makefile several details 2018-06-18 15:25:19 -03:00