Displaying 1 result from an estimated 1 matches for "burst_point".
2006 Jul 22
1
Possible Minor bug found in current 2.3.1 release of icecast2
...104 below.
diff -urNab icecast-2.3.1.orig/src/format.c icecast-2.3.1/src/format.c
--- icecast-2.3.1.orig/src/format.c 2006-07-23 00:48:16.418444051 -0400
+++ icecast-2.3.1/src/format.c 2006-07-20 22:38:30.000000000 -0400
@@ -101,7 +101,7 @@
long size = 0;
refbuf = source->burst_point;
size = client->intro_offset;
- while ((size > 0) && refbuf->next)
+ while ((size > 0) && (refbuf != NULL) && refbuf->next)
{
size -= refbuf->len;
refbuf = refbuf->next;
This fixed the segfaulti...