Displaying 1 result from an estimated 1 matches for "lookup_comment_prettyprint".
2009 Jul 10
1
ogg123 crash
...g123_vorbis_comments_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-ogg123_vorbis_comments_c 8 Jul 2009 16:47:36 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- ogg123/vorbis_comments.c.orig Wed Jul 8 18:44:47 2009
++++ ogg123/vorbis_comments.c Wed Jul 8 18:45:13 2009
+@@ -72,7 +72,7 @@ char *lookup_comment_prettyprint (char *comment, int *
+
+ /* Use default formatting */
+ j = strcspn(comment, "=");
+- if (j) {
++ if (j != strlen(comment)) {
+ *offset = j + 1;
+ s = malloc(j + 2);
+ if (s == NULL) {
----- End forwarded message -----
--
>++++++++[<++++++++++>-]<+++++++...