[cs631apue] on the importance of checking return values

Jan Schaumann jschauma at stevens.edu
Wed Dec 4 16:11:23 EST 2019


All,

Please see
https://www.openwall.com/lists/oss-security/2019/12/04/5

Search for "getpwnam" in the advisory; you should find
some code snippets and errors that look familiar.

Hopefully this helps illustrate the importance of
checking the return value of all calls as well as to
show that the examples from this class are not
arbitrary or artifically construed...

-Jan


More information about the cs631apue mailing list