don't let hexify call strlen
authorTom Tromey <tromey@redhat.com>
Sun, 19 Jan 2014 02:25:57 +0000 (19:25 -0700)
committerTom Tromey <tromey@redhat.com>
Wed, 12 Feb 2014 16:59:16 +0000 (09:59 -0700)
commit0a822afbcdf6aee6c25a840e4785ad3af56a94fd
tree169393d7a5cc2a03aafa5c26ea3e4239c00a9386
parent9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763
don't let hexify call strlen

hexify had the same issue as bin2hex; and the fix is the same.

2014-02-12  Tom Tromey  <tromey@redhat.com>

* common/rsp-low.c (hexify): Never take strlen of argument.

2014-02-12  Tom Tromey  <tromey@redhat.com>

* remote-utils.c (monitor_output): Pass explicit length to
hexify.
gdb/ChangeLog
gdb/common/rsp-low.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/remote-utils.c