[xiph-cvs] cvs commit: vorbis-tools/share iconvert.c
Segher Boessenkool
segher at xiph.org
Wed Feb 6 08:13:35 PST 2002
segher 02/02/06 08:13:35
Modified: share iconvert.c
Log:
On fail, it would free() a random address. Fixed.
Revision Changes Path
1.4 +1 -1 vorbis-tools/share/iconvert.c
Index: iconvert.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/share/iconvert.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- iconvert.c 2001/12/19 02:57:31 1.3
+++ iconvert.c 2002/02/06 16:13:35 1.4
@@ -52,7 +52,7 @@
iconv_t cd1, cd2;
char *ib;
char *ob;
- char *utfbuf, *outbuf, *newbuf;
+ char *utfbuf = 0, *outbuf, *newbuf;
size_t utflen, outlen, ibl, obl, k;
char tbuf[2048];
<p><p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list