Comment 3 for bug 519579

Revision history for this message
Reinhard Tartler (siretart) wrote :

this should be fixed by this upstream commit:
------------------------------------------------------------------------
r29626 | reimar | 2009-09-02 12:55:36 +0200 (Mi, 02 Sep 2009) | 3 lines

Fix possible crashes with invalid SDPs that result in stream descriptions
not being initialized.

Index: real.c
===================================================================
--- real.c (revision 29625)
+++ real.c (revision 29626)
@@ -235,6 +235,8 @@
     char b[64];
     int rulematches[MAX_RULEMATCHES];

+ if (!desc->stream[i])
+ continue;
 #ifdef LOG
     printf("calling asmrp_match with:\n%s\n%u\n", desc->stream[i]->asm_rule_book, bandwidth);
 #endif