File 0001-Patch-4-overflow-bug1204225-CVE-2022-41550.patch of Package libosip2.26358

--- libosip2-3.5.0/src/osipparser2/osip_body.c	2022/10/12 11:14:42	1.1
+++ libosip2-3.5.0/src/osipparser2/osip_body.c	2022/10/12 11:19:38
@@ -226,6 +226,7 @@
 	for (;;) {
 		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