Skip to content
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

Fails self-test when built with -D_FORTIFY_SOURCE=3, implying buffer overflows #26

Open
risicle opened this issue Jul 9, 2023 · 0 comments

Comments

@risicle
Copy link

risicle commented Jul 9, 2023

NixOS now builds all packages with -D_FORTIFY_SOURCE=3. This causes the hash_extender --test mode to fail with *** buffer overflow detected ***: terminated. This is on x86_64 linux using gcc 12.

See full build log @ https://hydra.nixos.org/log/ilpbzm1cw05p7z10ma5zlrxdgx4s2kc1-hash_extender-unstable-2020-03-24.drv (mirror @ https://gist.github.com/risicle/2a24820ff99ea7d63b8cc5f1215f4027)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant