diff for duplicates of <20180601132408.GA2572@embeddedor.com> diff --git a/a/1.txt b/N1/1.txt index ee96979..ea05cbc 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,7 +1,7 @@ In case *vif* is NULL at 655: if (!vif), the execution path jumps to label out, where *vif* is dereferenced at 679: -if (vif->sta_state = QTNF_STA_CONNECTING) +if (vif->sta_state == QTNF_STA_CONNECTING) Fix this by immediately returning when *vif* is NULL instead of jumping to label out. diff --git a/a/content_digest b/N1/content_digest index 4e3770b..fcfc6fc 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Gustavo A. R. Silva <gustavo@embeddedor.com>\0" "Subject\0[PATCH] qtnfmac: fix NULL pointer dereference\0" - "Date\0Fri, 01 Jun 2018 13:24:08 +0000\0" + "Date\0Fri, 1 Jun 2018 08:24:08 -0500\0" "To\0Igor Mitsyanko <imitsyanko@quantenna.com>" Avinash Patil <avinashp@quantenna.com> Sergey Matyukevich <smatyukevich@quantenna.com> @@ -16,7 +16,7 @@ "In case *vif* is NULL at 655: if (!vif), the execution path jumps to\n" "label out, where *vif* is dereferenced at 679:\n" "\n" - "if (vif->sta_state = QTNF_STA_CONNECTING)\n" + "if (vif->sta_state == QTNF_STA_CONNECTING)\n" "\n" "Fix this by immediately returning when *vif* is NULL instead of\n" "jumping to label out.\n" @@ -45,4 +45,4 @@ "-- \n" 2.7.4 -1ef242c5bfaa652c3c3b1a5435ffaa0eced56c6c8376ad5c0199c3ba6455d276 +143d00e03b7415dbc1e13318b74edbc77b758fc3a7ad62d10f99096990dd7c7b
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.