Stack smashing attack in statically compiled binaries

Robert Connolly robert at
Sat Apr 23 23:16:39 PDT 2005

This bug is caused by the prototypes in 
sysdeps/unix/sysv/linux/stack_protector.c. Comment out:

void __guard_setup(void) __attribute__ ((constructor));
void __stack_smash_handler(char func[], int damaged __attribute__ ((unused)));

and everything is fine after. I'll send a new patch.


More information about the hlfs-dev mailing list