diff -up libsoup-2.62.2/libsoup/soup-auth-negotiate.c.coverity-scan-issues libsoup-2.62.2/libsoup/soup-auth-negotiate.c
--- libsoup-2.62.2/libsoup/soup-auth-negotiate.c.coverity-scan-issues	2018-03-23 14:44:54.000000000 +0100
+++ libsoup-2.62.2/libsoup/soup-auth-negotiate.c	2018-06-22 11:25:33.384294057 +0200
@@ -200,9 +200,9 @@ soup_auth_negotiate_get_connection_autho
 			/* FIXME: report further upward via
 			 * soup_message_get_error_message  */
 			if (conn->initialized)
-				g_warning ("gssapi step failed: %s", err->message);
+				g_warning ("gssapi step failed: %s", err ? err->message : "Internal error");
 			else
-				g_warning ("gssapi init failed: %s", err->message);
+				g_warning ("gssapi init failed: %s", err ? err->message : "Internal error");
 			conn->state = SOUP_NEGOTIATE_FAILED;
 			g_clear_error (&err);
 
@@ -274,9 +274,9 @@ soup_auth_negotiate_update_connection (S
 			/* FIXME: report further upward via
 			 * soup_message_get_error_message  */
 			if (conn->initialized)
-				g_warning ("gssapi step failed: %s", err->message);
+				g_warning ("gssapi step failed: %s", err ? err->message : "Internal error");
 			else
-				g_warning ("gssapi init failed: %s", err->message);
+				g_warning ("gssapi init failed: %s", err ? err->message : "Internal error");
 			success = FALSE;
 		}
 	} else if (!strncmp (header, "Negotiate ", 10)) {
