This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][Bug cli/14011] New: GDB uses strcpy() with undefined behaviour,causing bug in CLI cd_command().


Hi,
Here is a patch for

"GDB uses strcpy() with undefined behaviour,causing bug in CLI cd_command()."

http://sourceware.org/bugzilla/show_bug.cgi?id=14011

It simply replace strcpy() to memmove().

Best Regards
Fredrik Hederstierna

Attachment: gdb_cli_cd_command_strcpy.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]