feefrac_mul_div: Integer-overflow in FeeFrac::Div #32294

issue maflcko openend this issue on April 17, 2025
  1. maflcko commented at 12:53 pm on April 17, 2025: member

    https://issues.oss-fuzz.com/issues/411172125:

    0echo '//v////7/////f////////8=' | base64 --decode > /tmp/dat
    1
    2UBSAN_OPTIONS="suppressions=$(pwd)/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1" FUZZ=feefrac_mul_div  ./bld-cmake/bin/fuzz /tmp/dat
    
    0src/util/feefrac.h:99:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')
    
  2. sipa commented at 6:00 pm on April 17, 2025: member
    See #32300.
  3. glozow added the label Bug on Apr 17, 2025
  4. achow101 closed this on Apr 18, 2025

  5. achow101 referenced this in commit 055254e212 on Apr 18, 2025


maflcko sipa

Labels
Bug


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-04-19 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me