4 ms·
Take a guess, or don't: https://github.com/systemd/systemd/commit/7286037fd438e93137571fa68a741cc894d8e549 https://github.com/systemd/systemd/commit/7286037fd43
by saagarjha 8y ago
Take a guess, or don't: https://github.com/systemd/systemd/commit/7286037fd438e93137571fa68a741cc894d8e549 https://github.com/systemd/systemd/commit/7286037fd438e93137...
- esjeon 8y agoB.e.a.utiful. I mean, he is a good programmer, but I’ve seen him (even in other projects) optimizing codes prematurely, which allows vulnerabilities to slip in. I understand the temptation, but many of his projects are mostly not performance critical. Not a good habit.
- alexeiz 8y agoWhat's your definition of a good programmer? Does the one who writes a lot of code and takes shortcuts meet that definition?
- kevin_thibedeau 8y agoThis isn't an optimization. It is pretending that C is like managed code and using the stack as a glorified garbage collector to avoid the responsibility of freeing memory. He did the same with his alloca() misuse. I would hope that they turn on -Wvla to find any more of these landmines.