File libosip2-overflow-CVE-2022-41550.patch of Package libosip2.17697

--- libosip2-5.3.0/src/osipparser2/osip_body.c	2022/10/12 12:13:18	1.1
+++ libosip2-5.3.0/src/osipparser2/osip_body.c	2022/10/12 12:13:36
@@ -237,6 +237,7 @@
     i = __osip_find_next_crlf(start_of_line, &end_of_line);
 
     if (i == -2) {
+      return OSIP_SYNTAXERROR;
     } else if (i != 0)
       return i; /* error case: no end of body found */
 
openSUSE Build Service is sponsored by