you are right, but after disabling fortify, you get "stack smashing detected" error , so it's necessary to disable stack protector too to get working binary.
and ofcourse it's not a fix, it's just temporary workaround...
*** stack smashing detected ***: ./nvram-wakeup terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb8047da8] /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb8047d60] ./nvram-wakeup[0x8052d0e] ./nvram-wakeup[0x8049927] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7f60775] ./nvram-wakeup[0x8048cd1] ======= Memory map: ========
you are right, but after disabling fortify, you get "stack smashing detected"
error , so it's necessary to disable stack protector too to get working
binary.
and ofcourse it's not a fix, it's just temporary workaround...
*** stack smashing detected ***: ./nvram-wakeup terminated i686/cmov/ libc.so. 6(__fortify_ fail+0x48) [0xb8047da8] i686/cmov/ libc.so. 6(__fortify_ fail+0x0) [0xb8047d60] wakeup[ 0x8052d0e] wakeup[ 0x8049927] i686/cmov/ libc.so. 6(__libc_ start_main+ 0xe5)[0xb7f6077 5] wakeup[ 0x8048cd1]
======= Backtrace: =========
/lib/tls/
/lib/tls/
./nvram-
./nvram-
/lib/tls/
./nvram-
======= Memory map: ========