| « all your __guard are belong to __stack_smash_handler | back on plastic » |
the long tail
well it looks like i can go to bed with a smile on my face...
gcc -g -ggdb -fstack-protector-all -o ssp_entropy ssp_entropy.c
./ssp_entropy
__guard: [[0x353275b9]]
gcc -static -g -ggdb -fstack-protector-all -o ssp_entropy ssp_entropy.c && ./ssp_entropy
__guard: [[0x3687e720]]
TMPFS chroot001 miranda ~ # cat ssp_entropy.c
#include stdio.h
extern unsigned long int __guard;
int main(void) {
printf("__guard: [[0x%x]]\n", __guard);
while(1) { ; }
return(0);
}
for learning about the whole story: http://bugs.gentoo.org/show_bug.cgi?id=182231
have fun and good night!
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
1 comment
When can we expect to see a patch or something?