Summary: | GDB uses strcpy() with undefined behaviour, causing bug in CLI cd_command(). | ||
---|---|---|---|
Product: | gdb | Reporter: | Fredrik Hederstierna <fredrik.hederstierna> |
Component: | cli | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | qiyao, tromey |
Priority: | P2 | ||
Version: | 7.4 | ||
Target Milestone: | 7.5 | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Fredrik Hederstierna
2012-04-23 09:29:00 UTC
Similar bug in 'source.c' found a month ago. http://sourceware.org/ml/gdb-patches/2012-03/msg00264.html /Fredrik public list gdb-patches@sourceware.org is the place to review/discuss patches. You'd better post your patch there, so maintainers can review and approve your patch. Note that you should generate patch with `cvs diff -up', and you also need to create a ChangLog entry to describe your change in the patch. Ok, done. http://sourceware.org/ml/gdb-patches/2012-04/msg00853.html /Fredrik The fix was checked in. |