Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Integer overflow in codegen #3426
An integer overflow in the codegen (leading to a segfault) can be demonstrated as follows:
The generated code begins as follows:
Clearly the generated
I see that jumps are 16 bit, so I guess the codegen should either detect the problem and exit, or cope with it some other way.
This issue was reported by https://hackerone.com/ssarong