Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com>
authorMartin Hunt <hunt@redhat.com>
Fri, 8 Aug 1997 07:13:16 +0000 (07:13 +0000)
committerMartin Hunt <hunt@redhat.com>
Fri, 8 Aug 1997 07:13:16 +0000 (07:13 +0000)
* gdbtk.c (breakpoint_notify): Change buffer size from 100
to 256 to avoid memory corruption with very long pathnames.

gdb/ChangeLog
gdb/gdbtk.c

index 04918a3bfd148a64dcb90a0d1863071fe474f9cc..05887ce6b7aaed0b84db9362e2a125f964b43c98 100644 (file)
@@ -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
index 13e8959bb0f75e6fc7e7e65affa61cd9de6050d7..0a8e460c868c12aad730c704d52b39e00bba5caa 100644 (file)
@@ -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;