3 ms·
That was my issue with the article as well: "Fixing this issue is a simple matter of making pkexec check that argc is at least one. But there are surely other
by akira2501 5y ago
That was my issue with the article as well:
"Fixing this issue is a simple matter of making pkexec check that argc is at least one. But there are surely other programs out there containing similar assumptions."
That's _not_ an assumption. That's just a bug, in a setuid binary.
- sedatk 5y agoIt doesn't matter if it's a bug in the program or not. "We don't break the userspace" --Linus Torvalds
- akira2501 5y agoI'm describing an issue with the article, not with the kernel development ideology. What I don't understand is why Corbett decided to write this up as an "assumption" rather than a "bug" which it clearly is.
- zerocrates 5y agoIt's both, what's the problem with what he wrote? It's a bug that results from the developers incorrectly assuming that argc is always at least 1.