[xiph-cvs] cvs commit: libshout/src util.c

Michael Smith msmith at xiph.org
Fri Aug 16 21:47:54 PDT 2002



msmith      02/08/17 00:47:54

  Modified:    src      util.c
  Log:
  Missing NULL terminator - so login only worked if you were lucky.

Revision  Changes    Path
1.3       +1 -0      libshout/src/util.c

Index: util.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/util.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- util.c	16 Aug 2002 14:22:16 -0000	1.2
+++ util.c	17 Aug 2002 04:47:54 -0000	1.3
@@ -80,6 +80,7 @@
         data += chunk;
         len -= chunk;
     }
+    *out = 0;
 
     return result;
 }

<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