From: zdohnal Date: Fri, 14 Mar 2025 05:44:45 +0000 (+0100) Subject: backend/ipp.c: Avoid NULL strcmp argument X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=827a4726a5e97d262728b37b0146a75fd7c91a78;p=thirdparty%2Fcups.git backend/ipp.c: Avoid NULL strcmp argument It is possible for format to be NULL (as described in the function signature) which causes a segmentation fault when it is passed to strcmp. This patch changes the conditional to short-circuit if format is NULL and only call strcmp otherwise. --- 827a4726a5e97d262728b37b0146a75fd7c91a78