diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-12-04 04:46:18 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-12-04 04:46:18 +0000 |
commit | edc452d07d89e2e7f5ce7e8ea77a46d3d4a8d529 (patch) | |
tree | 2547e447a6b5007bd0ba29b96bb8aa78d6a6f42f /gdb/ChangeLog | |
parent | 33ccdb1b9786497b5c284c28520888166da877fa (diff) | |
download | gdb-edc452d07d89e2e7f5ce7e8ea77a46d3d4a8d529.zip gdb-edc452d07d89e2e7f5ce7e8ea77a46d3d4a8d529.tar.gz gdb-edc452d07d89e2e7f5ce7e8ea77a46d3d4a8d529.tar.bz2 |
1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (monitor_read_memory): Zero out pattern buffers
before calling re_search.
(parse_register_dump): Ditto.
PR 18049. This bug had existed erratically since I upgraded to
the new gnu-regex.c this last summer. The problem is mostly in
parse_register_dump; the allocated structure has some random values
in it and there is a flag set in the register_pattern structure by the
gnu-regex library which indicates that the values in the re_registers
should be trusted.
If those arbitrary contents aren't zero, gnu-regex tries to run realloc
on them and we get a core dump on some hosts for some targets when the
moon is just right.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3241757..1ef2181 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +1998-12-03 Jason Molenda (jsm@bugshack.cygnus.com) + + * monitor.c (monitor_read_memory): Zero out pattern buffers + before calling re_search. + (parse_register_dump): Ditto. Thu Dec 3 10:37:22 EST 1998 Zdenek Radouch (radouch@cygnus.com) @@ -5,7 +10,6 @@ Thu Dec 3 10:37:22 EST 1998 Zdenek Radouch (radouch@cygnus.com) * configure.tgt * fr30-tdep.c * config/fr30/tm-fr30.h - Thu Dec 3 16:30:35 1998 Andrew Cagney <cagney@b1.cygnus.com> |