Cyrill Gorcunov 3079f7966d preproc: Fix malformed parameter count
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>
2018-11-14 10:26:26 +03:00
..
2018-10-15 22:58:13 +03:00
2018-10-15 22:58:13 +03:00
2018-10-15 22:58:13 +03:00
2018-10-15 22:58:13 +03:00
2018-10-15 22:58:13 +03:00
2018-11-13 01:23:47 +03:00
2018-10-15 22:58:13 +03:00
2018-10-25 12:33:58 -07:00