Re: CVS update: subversion/subversion/libsvn_string svn_string.c
From: Greg Stein <gstein_at_lyra.org>
Date: 2000-08-18 10:22:50 CEST
On Fri, Aug 18, 2000 at 01:28:18AM -0000, kfogel@tigris.org wrote:
One too far? i.e. drop the +1?
>...
Is the buffer large enough? And the +1 should probably disappear.
>...
If this does a memcpy() for one extra byte, then you'll get the null-term
Note that 2cstring is somewhat bogus since a caller can just use str->data.
Cheers,
-- Greg Stein, http://www.lyra.org/Received on Sat Oct 21 14:36:07 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.