From: Michael Sweet Date: Wed, 11 Oct 2017 17:23:27 +0000 (-0400) Subject: Fix crash in debug printf. X-Git-Tag: v2.2.5~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a47c11015a45534bd48c8f7f52733cd8e7ea2c;p=thirdparty%2Fcups.git Fix crash in debug printf. --- diff --git a/cups/ipp.c b/cups/ipp.c index d974bbab82..772b2f0a53 100644 --- a/cups/ipp.c +++ b/cups/ipp.c @@ -6981,7 +6981,7 @@ ipp_set_value(ipp_t *ipp, /* IO - IPP message */ * Reset pointers in the list... */ - DEBUG_printf(("4debug_free: %p %s %s%s (%d)", (void *)*attr, (*attr)->name, (*attr)->num_values > 1 ? "1setOf " : "", ippTagString((*attr)->value_tag), (*attr)->num_values)); + DEBUG_printf(("4debug_free: %p %s", (void *)*attr, temp->name)); DEBUG_printf(("4debug_alloc: %p %s %s%s (%d)", (void *)temp, temp->name, temp->num_values > 1 ? "1setOf " : "", ippTagString(temp->value_tag), temp->num_values)); if (ipp->current == *attr && ipp->prev)