You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks! This is a bug in fmt::sprintf - negative precision should have been converted to zero (the check in prettifier is actually redundant). I didn't even know printf allows negative precision =). Fixed in bd516e3.
Hi,
I found another crash through fuzzing sprintf. It gives a segmentation fault (using address sanitizer also works).
I think the reason is that
on format.h line 1203
gets an invalid range. I added assert(full_exp<=size); which is triggered by this.
By the way, I pushed my fuzzers to here in case you or someone else wants to fuzz.
Thanks,
Paul
The text was updated successfully, but these errors were encountered: