News for hackers. Stuff that matters.
Re:The Linux Backdoor Attempt of 2003 (2013) by stiray on Monday August 10, 2020 @03:39AM (#24106607)
I think that this might be an typo or at least it has plausible deniability. I have changed my coding style to always put constant on left side just to avoid such an error (such typo gave me a few days of debugging multithreaded code and I have just said "Never again!!" :D)
Re:The Linux Backdoor Attempt of 2003 (2013) by luckylion on Monday August 10, 2020 @04:47AM (#24106981)
A typo is possible if it had been submitted to normal code review, but hacking into a server to secretly modify code all but rules out an accident.
Re:The Linux Backdoor Attempt of 2003 (2013) by sild on Monday August 10, 2020 @04:26AM (#24106863)
If you are using gcc you can use the -Wparentheses flag to turn on warnings for this: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#inde...
Re:The Linux Backdoor Attempt of 2003 (2013) by Tuna-Fish on Monday August 10, 2020 @07:34AM (#24108126)
Even with the "typo" corrected, the patch makes no sense. There is no plausible deniability why it should do what it would do. It was definitely a deliberate attack.