This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 4/9] don't let hexify call strlen
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 05 Feb 2014 20:37:14 +0000
- Subject: Re: [RFC 4/9] don't let hexify call strlen
- Authentication-results: sourceware.org; auth=none
- References: <1390245501-1186-1-git-send-email-tromey at redhat dot com> <1390245501-1186-5-git-send-email-tromey at redhat dot com>
On 01/20/2014 07:18 PM, Tom Tromey wrote:
> hexify had the same issue as bin2hex; and the fix is the same.
>
> 2014-01-20 Tom Tromey <tromey@redhat.com>
>
> * common/rsp-low.c (hexify): Never take strlen of argument.
>
> 2014-01-20 Tom Tromey <tromey@redhat.com>
>
> * remote-utils.c (monitor_output): Pass explicit length to
> hexify.
OK.
Thanks,
--
Pedro Alves