From: Michael R Sweet Date: Tue, 4 Nov 2025 16:47:11 +0000 (-0500) Subject: Make sure options pointer is not NULL. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=HEAD;p=thirdparty%2Fcups.git Make sure options pointer is not NULL. --- diff --git a/cups/ppd-conflicts.c b/cups/ppd-conflicts.c index 29e34003a6..86890240f7 100644 --- a/cups/ppd-conflicts.c +++ b/cups/ppd-conflicts.c @@ -192,7 +192,7 @@ cupsResolveConflicts( * Range check input... */ - if (!ppd || !num_options || !options || (option == NULL) != (choice == NULL)) + if (!ppd || !num_options || !options || !*options || (option == NULL) != (choice == NULL)) return (0); /*