[vorbis-dev] PATCH: Segfault fix for ogg123

volsung at asu.edu volsung at asu.edu
Tue Jan 9 17:43:56 PST 2001


The problem I noted earlier about segfaulting at the end of playback and the
problem about mangled wav files have the same cause.  The playback buffer in
ogg123 is freed without checking if it has even been allocated.  Ken probably
didn't notice because he was using a buffer (which is optional).  :)

A patch for ogg123.c is attached.  (Probably takes the record for the smallest
patch submitted.)


---
Stan Seibert



<HR NOSHADE>
<UL>
<LI>TEXT/PLAIN attachment: buffer_shutdown.patch
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buffer_shutdown.patch
Type: application/octet-stream
Size: 476 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010109/69a954c6/buffer_shutdown.obj


More information about the Vorbis-dev mailing list