Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

By the way I compiled and ran the program (Ubuntu 18.04, x86_64 with various optimization options and whatnot, such as -fstack-protector. It runs cleanly under Valgrind.


Valgrind is pretty bad at detecting stack corruption, or at least was a couple years ago. Did you try -fsanitize=address too?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: