-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UBSAN: shift exponent is too large #1293
Labels
Comments
slouken
pushed a commit
to libsdl-org/SDL_image
that referenced
this issue
May 28, 2022
Mainstream pull requests: nothings/stb#1230 nothings/stb#1223 nothings/stb#1297 Related mainstream issue tickets: nothings/stb#1224 nothings/stb#1225 nothings/stb#1289 nothings/stb#1291 nothings/stb#1292 nothings/stb#1293
I tested the provided repros agains Neil's patches and the bugs are confirmed fixed. Patches are in dev branch, fix will be in the next release. |
Fixed in 2.28. |
fs/ufs/super.c:1246 ??? btw, you can't cut-and-paste from screenshots, so screenshots of code/errors are unhelpful when reporting bugs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Several
UBSAN runtime error: shift exponent 32 is too large for 32-bit type 'unsigned int'
and similarTo Reproduce
Built stb according to the oss-fuzz script with
CXXFLAGS='-O1 -fsanitize=address -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr'
UBSAN Output
Crashing files
ubsan-shift-too-large.zip
The text was updated successfully, but these errors were encountered: