cups/cups-str3503.patch
Jiří Popelka 6100ed1795 - 1.4.3.
- No longer need CVE-2009-3553, str3381, str3390, str3391, str3403,
    str3407, str3413, str3418, str3422, str3425, str3428, str3431, str3435,
    str3436, str3439, str3440, str3442, str3448, str3458, str3460,
    cups-sidechannel-intrs, negative-snmp-string-length,
    cups-media-empty-warning patches.
2010-03-31 13:11:00 +00:00

13 lines
450 B
Diff

diff -up cups-1.4.3/cups/dest.c.str3503 cups-1.4.3/cups/dest.c
--- cups-1.4.3/cups/dest.c.str3503 2010-03-31 13:31:42.000000000 +0200
+++ cups-1.4.3/cups/dest.c 2010-03-31 13:32:52.000000000 +0200
@@ -553,7 +553,7 @@ cupsGetNamedDest(http_t *http, /* I
if (!cups_get_sdests(http, op, name, 0, &dest))
{
- if (op == CUPS_GET_DEFAULT || name)
+ if (op == CUPS_GET_DEFAULT || (name && !set_as_default))
return (NULL);
/*