redis/deps/lua/src
Ozan Tezcan c5ff163d53
Fix Lua compile warning on GCC 12.1 (#11115)
Fix Lua compile warning on GCC 12.1

GCC 12.1 prints a warning on compile: 
```
ldump.c: In function ‘DumpString’:
ldump.c:63:26: warning: the comparison will always evaluate as ‘false’ for the pointer operand in ‘s + 24’ must not be NULL [-Waddress]
   63 |  if (s==NULL || getstr(s)==NULL)

```

It seems correct, `getstr(s)` can't be `NULL`.  
Also, I see Lua v5.2 does not have that check: https://github.com/lua/lua/blob/v5-2/ldump.c#L63
2022-08-14 14:29:05 +03:00
..
Makefile Merge remote-tracking branch 'origin/unstable' into unstable 2014-11-14 17:10:48 +01:00
fpconv.c Lua: Upgrade cjson to 2.1.0 (2012-03-01) 2014-11-14 17:08:33 +01:00
fpconv.h Lua: remove new warning added by cjson header 2014-11-14 17:08:44 +01:00
lapi.c Protect any table which is reachable from globals and added globals white list. 2022-04-27 00:37:40 +03:00
lapi.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lauxlib.c Fix compilation warnings in Lua and jemalloc dependencies (#7785) 2020-09-29 17:10:54 +03:00
lauxlib.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lbaselib.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
lcode.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
lcode.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
ldblib.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
ldebug.c Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
ldebug.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
ldo.c Fix compilation warnings in Lua and jemalloc dependencies (#7785) 2020-09-29 17:10:54 +03:00
ldo.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
ldump.c Fix Lua compile warning on GCC 12.1 (#11115) 2022-08-14 14:29:05 +03:00
lfunc.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lfunc.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lgc.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
lgc.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
linit.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
liolib.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
llex.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
llex.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
llimits.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lmathlib.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lmem.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lmem.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
loadlib.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
lobject.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lobject.h Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
lopcodes.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lopcodes.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
loslib.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lparser.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
lparser.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lstate.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lstate.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lstring.c Lua: Use all characters to calculate string hash (#9449) 2021-09-09 12:47:26 +03:00
lstring.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lstrlib.c Lua updated to version 5.1.5. 2013-04-29 12:00:54 +02:00
ltable.c Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
ltable.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
ltablib.c Fix compilation warnings in Lua and jemalloc dependencies (#7785) 2020-09-29 17:10:54 +03:00
ltm.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
ltm.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lua.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lua.h Protect any table which is reachable from globals and added globals white list. 2022-04-27 00:37:40 +03:00
lua_bit.c Fix Lua compile warning (#10805) 2022-06-01 16:21:45 +03:00
lua_cjson.c lua_cjson.c Lua includes: angled -> quoted. 2014-11-14 17:16:23 +01:00
lua_cmsgpack.c Fix Lua C API violation on lua msgpack lib. (#9832) 2021-11-28 11:33:09 +02:00
lua_struct.c [FIX] revisit CVE-2015-8080 vulnerability 2020-02-10 16:32:46 +09:00
luac.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
luaconf.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lualib.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lundump.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lundump.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lvm.c Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
lvm.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lzio.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
lzio.h makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
print.c makefile adapted to link against lua lib and to pass the 32bit flag to Lua building system 2011-05-25 12:32:43 +02:00
strbuf.c Lua: Upgrade cjson to 2.1.0 (2012-03-01) 2014-11-14 17:08:33 +01:00
strbuf.h Lua: Upgrade cjson to 2.1.0 (2012-03-01) 2014-11-14 17:08:33 +01:00