Handling argc==0 in the kernel
Handling argc==0 in the kernel
Posted Jan 30, 2022 11:23 UTC (Sun) by areilly (guest, #87829)In reply to: Handling argc==0 in the kernel by larkey
Parent article: Handling argc==0 in the kernel
To be honest, I was thinking about the argc==0 example here, where the argument vector allocation was real, because it was just the first part before an explicit null and the environment variable elements. In that case I don't think that the one-past-the-end situation arises, because the memory object is the whole thing and clearly not zero length. OK, I don't think that the zero-length issue is a thing, sorry.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
