zhouchengcom/google-breakpad

FileID contains minor possible buffer overrun.

Opened this issue · 0 comments

FileID::FileID() uses strncpy to copy the path to a member variable. strncpy 
will not terminate the destination string if the source string is "n" 
characters long, so a src path of MAX_PATH would result in path *not* being 
null terminated.

Original issue reported on code.google.com by cmumford@chromium.org on 31 Mar 2014 at 5:38

Attachments: