Re: Possible bug in libsvn_ra_dav/commit.c? Any sprintf gurus please look.
From: Bryan O'Sullivan <bos_at_serpentine.com>
Date: 2001-11-21 07:17:35 CET
On Tue, 2001-11-20 at 21:38, B. W. Fitzpatrick wrote:
> So I look inside of apr_uuid_format. Basically it does an sprintf of
> 1. Doesn't sprintf throw an \0 onto the end of the string [...]
Yes.
> 2. Shouldn't we allocate uuid_buf as [APR_UUID_FORMATTED_LENGTH +1] ?
Yes. Look, ma, I've stack-smashed myself!
> 3. Why doesn't this blow up on other platforms? Why oh why oh why?
My guess is that "other platforms" are just about all little-endian (in
This looks like a misinterpretation of the meaning of
<b
|
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.