Error in 3.3. Buffer Overflows
    Brian Frisbie 
    concordbjf at gmail.com
       
    Wed Aug  6 15:07:15 UTC 2014
    
    
  
Hello,
I believe there's a small error in the document
http://www.freebsd.org/doc/en/books/developers-handbook/secure-bufferov.html
For "realpath(char *path, char resolved_path[])" the description is "May
overflow the path buffer".
I believe it should read: "May overflow the *resolved_*path buffer" based
on the definition of realpath() found here:
http://pubs.opengroup.org/onlinepubs/009695399/functions/realpath.html
Cheers,
-Brian
    
    
More information about the freebsd-questions
mailing list