openwrt/package/utils/lua
Adam Bailey a5b03a34c3 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>
(cherry picked from commit 3a2e7c30d3)
2023-08-11 12:53:33 +02:00
..
patches lua: fix integer overflow in LNUM patch 2023-08-11 12:53:33 +02:00
patches-host lua: fix integer overflow in LNUM patch 2023-08-11 12:53:33 +02:00
Makefile tree-wide: Do not use package librt and libpthread 2022-12-29 18:50:24 +01:00