Go to file
Roberto Ierusalimschy a2195644d8 Fixed bug: invalid 'oldpc' when returning to a function
The field 'L->oldpc' is not always updated when control returns to a
function; an invalid value can seg. fault when computing 'changedline'.
(One example is an error in a finalizer; control can return to
'luaV_execute' without executing 'luaD_poscall'.) Instead of trying to
fix all possible corner cases, it seems safer to be resilient to invalid
values for 'oldpc'. Valid but wrong values at most cause an extra call
to a line hook.
2020-07-17 11:01:05 -03:00
manual Details 2020-06-18 11:07:27 -03:00
testes Fixed bug: invalid mode can crash 'io.popen' 2020-07-15 16:01:03 -03:00
.gitignore Added '.gitignore' to the repository 2020-07-02 16:55:23 -03:00
all
lapi.c Avoid any code before locks in the API 2020-07-06 14:06:47 -03:00
lapi.h Comments (mosty typos) 2019-12-30 11:45:08 -03:00
lauxlib.c Keep memory errors as memory errors 2020-07-06 12:09:44 -03:00
lauxlib.h Added 'simplesect' sections to the manual 2020-04-13 13:42:40 -03:00
lbaselib.c
lcode.c Fixed "conceptual" bug in 'luaK_setreturns' 2020-03-02 13:24:06 -03:00
lcode.h Details 2020-02-27 12:59:22 -03:00
lcorolib.c Keep memory errors as memory errors 2020-07-06 12:09:44 -03:00
lctype.c Easy way to allow Unicode characters in identifiers 2019-12-17 14:24:30 -03:00
lctype.h
ldblib.c Avoid calling 'fprintf' with NULL 2020-06-09 16:12:01 -03:00
ldebug.c Fixed bug: invalid 'oldpc' when returning to a function 2020-07-17 11:01:05 -03:00
ldebug.h Fixed bug: invalid 'oldpc' when returning to a function 2020-07-17 11:01:05 -03:00
ldo.c Fixed bug: invalid 'oldpc' when returning to a function 2020-07-17 11:01:05 -03:00
ldo.h Fixed bugs of stack reallocation x GC 2020-07-07 18:03:48 -03:00
ldump.c Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
lfunc.c Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
lfunc.h
lgc.c Fixed bug of old finalized objects in the GC 2020-07-10 14:13:50 -03:00
lgc.h
linit.c
liolib.c Fixed bug: invalid mode can crash 'io.popen' 2020-07-15 16:01:03 -03:00
ljumptab.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
llex.c Changed internal representation of booleans 2020-01-06 11:38:31 -03:00
llex.h
llimits.h Macro LUAI_ASSERT eases turning assertions on 2020-07-08 15:51:55 -03:00
lmathlib.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lmem.c Change in macro HARDMEMTESTS for testing GC 2020-07-08 15:36:48 -03:00
lmem.h
loadlib.c Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
lobject.c Details 2020-07-03 13:02:41 -03:00
lobject.h Cleaner definition for 'TString' 2020-05-19 12:42:20 -03:00
lopcodes.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopcodes.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopnames.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
loslib.c 'luaL_execresult' does not assume -1 status as error 2020-05-22 15:39:29 -03:00
lparser.c Fixed missing GC barriers in compiler and undump 2020-06-16 09:54:20 -03:00
lparser.h Fixed two bugs in to-be-closed variables x constants 2020-06-01 15:07:58 -03:00
lprefix.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lstate.c Fixed bug: invalid 'oldpc' when returning to a function 2020-07-17 11:01:05 -03:00
lstate.h Fixed bug: invalid 'oldpc' when returning to a function 2020-07-17 11:01:05 -03:00
lstring.c Short strings always use all bytes in the hash 2020-04-01 10:52:41 -03:00
lstring.h Cleaner definition for 'TString' 2020-05-19 12:42:20 -03:00
lstrlib.c Fixed bug in 'string.format("%p")' 2020-03-16 14:13:13 -03:00
ltable.c Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
ltable.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
ltablib.c
ltests.c Make sure that main thread is non yieldable 2020-07-06 13:54:01 -03:00
ltests.h Macro LUAI_ASSERT eases turning assertions on 2020-07-08 15:51:55 -03:00
ltm.c Fixed bugs of stack reallocation x GC 2020-07-07 18:03:48 -03:00
ltm.h Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
lua.c Improvements in the handling of signals 2020-05-22 11:40:34 -03:00
lua.h Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
luaconf.h 'l_mathlim' renamed to 'l_floatatt' 2019-12-05 13:31:07 -03:00
lualib.h
lundump.c Fixed detail in 'loadUpvalues' 2020-06-30 15:36:26 -03:00
lundump.h Details in comments 2020-05-07 14:52:19 -03:00
lutf8lib.c Details (more uniformity in error messages) 2020-05-27 11:46:47 -03:00
lvm.c Fixed bug: invalid 'oldpc' when returning to a function 2020-07-17 11:01:05 -03:00
lvm.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lzio.c
lzio.h
makefile Macro LUAI_ASSERT eases turning assertions on 2020-07-08 15:51:55 -03:00
onelua.c