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/gdbtk.c | |
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/gdbtk.c')
-rw-r--r-- | gdb/gdbtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |