rdstrnum: Make sure we dont shift out of bound
commitb756372b0668092f1e189ef097889df0f40dee79
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 29 Oct 2018 19:24:25 +0000 (29 22:24 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Mon, 29 Oct 2018 19:25:16 +0000 (29 22:25 +0300)
tree7d6007c622c41c29a86c02d9646ead3e6b23165b
parent661f723d39e03ca6eb05d7376a43ca33db478354
rdstrnum: Make sure we dont shift out of bound

Otherwise we may hit underfined behavior.

https://bugzilla.nasm.us/show_bug.cgi?id=3392526

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
asm/rdstrnum.c