Safeguard against NULL in strcmp
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 31 Jan 2012 11:02:45 +0000 (12:02 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 8 Feb 2012 10:06:50 +0000 (10:06 +0000)
commitb562f9bbe31b5c5277b2b7d1482d98b5aa42a593
treec6b5fc1b317df979f2e424611038b5100a970a83
parentfddede281641ad6fb7cb03bde1239f038c98034b
Safeguard against NULL in strcmp

[In both of these cases, the situation being guarded against is:
check_password() is called, but soup_message_headers_get_one() does not find
an "Authorization" header. -smcv]

Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Dan Winship <danw@gnome.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=669479
Bug-NB: NB#297634
libsoup/soup-auth-domain-basic.c
libsoup/soup-auth-domain-digest.c