diff options
author | Fred Fish <fnf@specifix.com> | 1993-11-18 16:34:43 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1993-11-18 16:34:43 +0000 |
commit | 7855533586f9dbdce6ef1fc48b5ce5f4fc4e4f32 (patch) | |
tree | 5c7734ab2d809758e597ff9ab9292dec0f9ee704 /gdb | |
parent | 4f65eece262f61814e9dceadbd9822faf37044e2 (diff) | |
download | gdb-7855533586f9dbdce6ef1fc48b5ce5f4fc4e4f32.zip gdb-7855533586f9dbdce6ef1fc48b5ce5f4fc4e4f32.tar.gz gdb-7855533586f9dbdce6ef1fc48b5ce5f4fc4e4f32.tar.bz2 |
Fix for PR 3978:
* valprint.c (val_print_string): When looking for a null
terminator compare current bufsize to fetchlimit to determine
when to stop, instead of computing buffer+fetchlimit which
may overflow for very large limits (like "unlimited").
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c4ac7b6..e342472 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Thu Nov 18 08:25:50 1993 Fred Fish (fnf@cygnus.com) + + * valprint.c (val_print_string): When looking for a null + terminator compare current bufsize to fetchlimit to determine + when to stop, instead of computing buffer+fetchlimit which + may overflow for very large limits (like "unlimited"). + Wed Nov 17 18:23:09 1993 Kung Hsu (kung@cirdan.cygnus.com) * eval.c(evaluate_subexp): to use unified search so type conversion |