zh423328 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
Other
0 stars 0 forks source link

FileID contains minor possible buffer overrun. #573

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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: