Comment 5 for bug 370261

Revision history for this message
a1bert (a1bert) wrote : Re: [Bug 370261] Re: nvram-wakeup buffer overflow detected

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: ========