File cups-2.2.7-CVE-2023-32324.patch of Package cups.29369

--- cups/string.c.orig	2018-03-23 04:48:36.000000000 +0100
+++ cups/string.c	2023-05-24 09:43:00.014490071 +0200
@@ -735,6 +735,9 @@ _cups_strlcpy(char       *dst,		/* O - D
   size_t	srclen;			/* Length of source string */
 
 
+  if (size == 0)
+    return (0);
+
  /*
   * Figure out how much room is needed...
   */
openSUSE Build Service is sponsored by