mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-31 18:20:22 +08:00
readnum returns 64bit number which may become a negative integer upon conversion which in turn lead to out of bound array access. Fix it by explicit conversion with bounds check | POC6:2: error: parameter count `2222222222' is out of bounds [0; 2147483647] https://bugzilla.nasm.us/show_bug.cgi?id=3392528 Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>