Title: TQI - Technology and Quality on Information
Hello there!

I merged codes from Qutecom trunk on my base yesterday and noticed that an infinite loop was created on method "sdp_message_att_find" of "sdp_accessor.c" file from "libosip2".
The patch to fix it follows attached.

Could you please let me know if is there any disagreements or the moment it gets applied ?

Thanks and best regards,

--
At.,                                                                                                                               
 
Technology and Quality on Information
Mauro Sérgio Ferreira Brasil
Coordenador de Projetos e Analista de Sistemas
+ [email protected]
: www.tqi.com.br
( + 55 (34)3291-1700
( + 55 (34)9971-2572
diff -r f1929a89802a wifo/libosip2/src/osipparser2/sdp_accessor.c
--- a/wifo/libosip2/src/osipparser2/sdp_accessor.c      Mon Jul 27 17:01:07 
2009 +0200
+++ b/wifo/libosip2/src/osipparser2/sdp_accessor.c      Wed Jul 29 11:53:34 
2009 -0300
@@ -712,9 +712,9 @@
 
       if (atoi(attribute->a_att_value) == atoi(payload_id))
           return attribute;
+    }
 
-      attrib_index++;
-    }
+    attrib_index++;
   }
   
   return NULL;
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to