...
In a hosted environment, the main function receives a third argument,
char *envp[]
, that points to a nullNULL-terminated array of pointers tochar
, each of which points to a string that provides information about the environment for this execution of the program.
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
References
Wiki Markup |
---|
\[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]\] Section J.5.1, "Environment Arguments" |