aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/mbedtls/patches/100-fix-compile.patch
diff options
context:
space:
mode:
authorAdam Bailey <aebailey@gmail.com>2023-07-03 20:16:14 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-12 11:46:51 +0200
commitc29390b0f3ab7d98f96723f1f988b35cbd1637f7 (patch)
treea4aac8c71b04ad74ef27e71d1f00a5919a61a087 /package/libs/mbedtls/patches/100-fix-compile.patch
parent503aa7f9fbb3ca73437aeb2adf492dd8f1d2ab7f (diff)
downloadupstream-c29390b0f3ab7d98f96723f1f988b35cbd1637f7.tar.gz
upstream-c29390b0f3ab7d98f96723f1f988b35cbd1637f7.tar.bz2
upstream-c29390b0f3ab7d98f96723f1f988b35cbd1637f7.zip
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 3a2e7c30d3e6a187ba1df740cdb24c8ad84dfe48)
Diffstat (limited to 'package/libs/mbedtls/patches/100-fix-compile.patch')
0 files changed, 0 insertions, 0 deletions