From: Seonah Moon Date: Wed, 23 Dec 2015 07:46:46 +0000 (+0900) Subject: [WGID-21000] Fix the Svace issue X-Git-Tag: accepted/tizen/ivi/20160218.025200^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4148b5c29e543510ab5b4cd990547d161ea3ccb5;p=platform%2Fupstream%2Flibsoup.git [WGID-21000] Fix the Svace issue Change-Id: I14ccd3fde1dcc16b87c4f850cff0525ed719ed9a Signed-off-by: Seonah Moon --- diff --git a/libsoup/soup-auth-manager.c b/libsoup/soup-auth-manager.c index f40a928..41938b0 100644 --- a/libsoup/soup-auth-manager.c +++ b/libsoup/soup-auth-manager.c @@ -453,6 +453,12 @@ lookup_auth (SoupAuthManagerPrivate *priv, SoupMessage *msg) path = soup_message_get_uri (msg)->path; if (!path) path = "/"; + +#if ENABLE(TIZEN_EXT) + if (!host->auth_realms) + return NULL; +#endif + realm = soup_path_map_lookup (host->auth_realms, path); if (realm) return g_hash_table_lookup (host->auths, realm);