diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-11-14 10:03:42 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-11-14 10:26:26 +0300 |
commit | 3079f7966dbed4497e36d5067cbfd896a90358cb (patch) | |
tree | f88e5c0ff834ee8b4b16a25106cc49ac83bf8de3 /travis/test/br3392528.json | |
parent | feabd742a3520d0835428f47d474979b4566c4ce (diff) | |
download | nasm-3079f7966dbed4497e36d5067cbfd896a90358cb.tar.gz nasm-3079f7966dbed4497e36d5067cbfd896a90358cb.tar.xz nasm-3079f7966dbed4497e36d5067cbfd896a90358cb.zip |
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>
Diffstat (limited to 'travis/test/br3392528.json')
0 files changed, 0 insertions, 0 deletions