aboutsummaryrefslogtreecommitdiff
path: root/custom_mutators
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-06-14 08:14:03 +0200
committerGitHub <noreply@github.com>2024-06-14 08:14:03 +0200
commite3183f7cda7f8c9fb29bb61fbd6ac215135cb9d0 (patch)
treef011aa55e32a02090284c7f7a4943e04ce06f64b /custom_mutators
parente7da8b9d6bf20b1cac960b1eccf3beac3fbf7901 (diff)
parentb5e0fff6b9ee1260fc3753af0e441606cfe853ff (diff)
downloadafl++-e3183f7cda7f8c9fb29bb61fbd6ac215135cb9d0.tar.gz
Merge pull request #2125 from visitorckw/fix-libradamsa-signed-integer-overflow
Fix signed integer overflow in radamsa
Diffstat (limited to 'custom_mutators')
-rw-r--r--custom_mutators/radamsa/libradamsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_mutators/radamsa/libradamsa.c b/custom_mutators/radamsa/libradamsa.c
index e6838752..1dcf91d8 100644
--- a/custom_mutators/radamsa/libradamsa.c
+++ b/custom_mutators/radamsa/libradamsa.c
@@ -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 \