Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 31, 2022 19:10 UTC (Mon) by marcH (subscriber, #57642)In reply to: Handling argc==0 in the kernel by jem
Parent article: Handling argc==0 in the kernel
> One might also argue that argc is superfluous, ...
Yes and that would be very ironic in an article about a pkexec security issue caused by not using argc as termination and fixed by looking at it :-)
Anyway comparing termination in C versus all other programming languages was not my point. Using _both_ argc and NULL at the same time is idiomatic in exactly zero programming language, so that's confusing. So I'm merely suggesting adding one short sentence about that.
