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 misaligned address errors #203
Comments
Try to compile with -DBROTLI_BUILD_PORTABLE option |
Thanks. Not sure if that justifies undefined behavior in the default build though. |
We focused mostly on x64 and ARMv7 where unaligned read doesn't cause undefined behaviour (except for atomicity, but it's not the case). |
I think you are mistaken, these UBSAN errors appear on linux on |
Yes, ubsan reports errors on x86_64 and we used it to check "portable" version. |
See http://www.stats.ox.ac.uk/pub/bdr/memtests/gcc-UBSAN/brotli-Ex.Rout
The text was updated successfully, but these errors were encountered: