diff options
author | Martin Hunt <hunt@redhat.com> | 1997-08-08 07:13:16 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1997-08-08 07:13:16 +0000 |
commit | 32707df8fb0b6c6220c502b367cca43caf6e9a1f (patch) | |
tree | 276176dc018a024834106457c65cfb716e398e49 /gdb | |
parent | 259130e56d098918fa7a7f777e6eea8cbdf88500 (diff) | |
download | gdb-32707df8fb0b6c6220c502b367cca43caf6e9a1f.zip gdb-32707df8fb0b6c6220c502b367cca43caf6e9a1f.tar.gz gdb-32707df8fb0b6c6220c502b367cca43caf6e9a1f.tar.bz2 |
Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c (breakpoint_notify): Change buffer size from 100
to 256 to avoid memory corruption with very long pathnames.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/gdbtk.c | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 04918a3..05887ce 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-gdbtk +Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com> + + * gdbtk.c (breakpoint_notify): Change buffer size from 100 + to 256 to avoid memory corruption with very long pathnames. + +end-sanitize-gdbtk Thu Aug 7 19:40:52 1997 Geoffrey Noer <noer@cygnus.com> Changes to OCD support to support wiggler box as well as @@ -19,11 +26,13 @@ Thu Aug 7 19:40:52 1997 Geoffrey Noer <noer@cygnus.com> return buffer and initializing curr location ptr to start of buffer. +start-sanitize-gdbtk Thu Aug 7 14:08:23 1997 Martin M. Hunt <hunt@cygnus.com> * configure.in: Change required Tix version to 4.1.8.0 . * configure: Rebuilt. - +end-sanitize-gdbtk + Thu Aug 7 13:39:31 1997 Geoffrey Noer <noer@cygnus.com> * ocd.h: add OCD_SET_CONNECTION diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 13e8959..0a8e460 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -433,7 +433,7 @@ breakpoint_notify(b, action) struct breakpoint *b; const char *action; { - char buf[100]; + char buf[256]; int v; struct symtab_and_line sal; |