openwrt/package/utils/lua
Adam Bailey 3a2e7c30d3 lua: fix integer overflow in LNUM patch
Safely detect integer overflow in try_addint() and try_subint().
Old code relied on undefined behavior, and recent versions of GCC on x86
optimized away the if-statements.
This caused integer overflow in Lua code instead of falling back to
floating-point numbers.

Signed-off-by: Adam Bailey <aebailey@gmail.com>
2023-07-08 16:56:12 +02:00
..
patches lua: fix integer overflow in LNUM patch 2023-07-08 16:56:12 +02:00
patches-host lua: fix integer overflow in LNUM patch 2023-07-08 16:56:12 +02:00
Makefile tree-wide: Do not use package librt and libpthread 2022-12-29 18:50:24 +01:00