Just to expand a little, if I download the same source and compile with "-fno-stack-protector", the stack smashing issue vanishes but instead the program dies with a core dump.
.. 7fea5a9d0000-7fea5a9d2000 rw-p 00023000 08:01 269502 /lib/x86_64-linux-gnu/ld-2.15.so 7fff18d5f000-7fff18d80000 rw-p 00000000 00:) = 1024 read(5, "00 0 [s"..., 1024) = 202 write(4, "00 0 [s"..., 20200 0 [stack] 7fff18dff000-7fff18e00000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] ) = 202 read(5, "", 1024) = 0 close(5) = 0 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 gettid() = 31311 tgkill(31311, 31311, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT (core dumped) +++ Aborted (core dumped) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/972639 Title: hddtemp falling foul of new kernel protection To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hddtemp/+bug/972639/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
