search for: r14485

Displaying 2 results from an estimated 2 matches for "r14485".

Did you mean: 514485
2008 Feb 12
4
[PATCH] skeleton.c
...cate to the correct length then the final LF is replaced with NUL by snprintf. So we need to allocate room for one extra char (the NUL) as you have done, but then not truncate the write: so we both allocate and print with length (this_message_size+1). Checked with valgrind, and committed in oggenc r14485 and liboggz r3448. cheers, Conrad.
2008 Feb 01
2
[PATCH] skeleton.c
On 01/02/2008, Conrad Parker <conrad@metadecks.org> wrote: > On 31/01/2008, ogg.k.ogg.k@googlemail.com <ogg.k.ogg.k@googlemail.com> wrote: > > This fixes an off by one bug in the user of snprintf, and returns > > negative if writing the > > header returns negative (otherwise we'd just get a short write, losing > > the error). > > This patch