From e2fbfcd816015a03b7ad08cbff31df3d79e54b3c Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 16 May 2017 10:08:07 +0200 Subject: [PATCH] Bug 1365193, util: fix null pointer dereference pointed by coverity, r=kaie --- lib/util/pkcs11uri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/pkcs11uri.c b/lib/util/pkcs11uri.c index 1be0585421..4534402938 100644 --- a/lib/util/pkcs11uri.c +++ b/lib/util/pkcs11uri.c @@ -681,7 +681,7 @@ PK11URI_ParseURI(const char *string) result = pk11uri_AllocURI(); if (result == NULL) { - goto fail; + return NULL; } /* Parse the path component and its attributes. */