mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-25 21:39:38 +00:00
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> |
||
|---|---|---|
| .. | ||
| patches | ||
| patches-host | ||
| Makefile | ||