Skip to content

Commit

Permalink
Merge pull request #2125 from visitorckw/fix-libradamsa-signed-intege…
Browse files Browse the repository at this point in the history
…r-overflow

Fix signed integer overflow in radamsa
  • Loading branch information
vanhauser-thc committed Jun 14, 2024
2 parents e7da8b9 + b5e0fff commit e3183f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_mutators/radamsa/libradamsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -3707,7 +3707,7 @@ typedef intptr_t wdiff;
1024 * 1024 * 8 /* static malloc'd heap size if used as a library */
#define FBITS 24 /* bits in fixnum, on the way to 24 and beyond */
#define FMAX \
((1 << FBITS) - 1) /* maximum fixnum (and most negative fixnum) \
((1U << FBITS) - 1) /* maximum fixnum (and most negative fixnum) \
*/
#define MAXOBJ 0xffff /* max words in tuple including header */
#define MAXPAYL \
Expand Down

0 comments on commit e3183f7

Please sign in to comment.