This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix incorrect use of strcpy.
- From: Tom Tromey <tromey at redhat dot com>
- To: Chris January <chris dot january at allinea dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 08 Mar 2012 11:17:23 -0700
- Subject: Re: [PATCH] Fix incorrect use of strcpy.
- References: <1331216484.2742.7.camel@gumtree>
>>>>> "Chris" == Chris January <chris.january@allinea.com> writes:
Chris> The strings passed to strcpy may not overlap, but &p and &p[len + 1]
Chris> clearly do. memmove allows overlapping memory area.
This is ok. Thanks for doing this.
I think you should get started on your copyright assignment papers.
Your current patches are probably under the limit, but if you send more
then we'll need these.
Contact me off-list and I will send you the form.
Tom