diff for duplicates of <20160130144110.GE3462@mwanda> diff --git a/a/1.txt b/N1/1.txt index fbec49f..1bf0767 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,7 +20,7 @@ index edfc680..db2e31bc 100644 - FIELD_OFFSET(struct NDIS_802_11_WEP, - KeyMaterial)), GFP_ATOMIC); + pwep = kzalloc(sizeof(*pwep), GFP_ATOMIC); - if (pwep = NULL) + if (pwep == NULL) return -ENOMEM; - memset(pwep, 0, sizeof(struct NDIS_802_11_WEP)); pwep->KeyLength = wep_key_len; diff --git a/a/content_digest b/N1/content_digest index 6a20133..c6edd0e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] staging: rtl8712: memory corruption in wpa_set_encryption()\0" - "Date\0Sat, 30 Jan 2016 14:41:10 +0000\0" + "Date\0Sat, 30 Jan 2016 17:41:10 +0300\0" "To\0Larry Finger <Larry.Finger@lwfinger.net>\0" "Cc\0Florian Schilhabel <florian.c.schilhabel@googlemail.com>" Greg Kroah-Hartman <gregkh@linuxfoundation.org> @@ -37,11 +37,11 @@ "-\t\t\t\tFIELD_OFFSET(struct NDIS_802_11_WEP,\n" "-\t\t\t\tKeyMaterial)), GFP_ATOMIC);\n" "+\t\t\tpwep = kzalloc(sizeof(*pwep), GFP_ATOMIC);\n" - " \t\t\tif (pwep = NULL)\n" + " \t\t\tif (pwep == NULL)\n" " \t\t\t\treturn -ENOMEM;\n" "-\t\t\tmemset(pwep, 0, sizeof(struct NDIS_802_11_WEP));\n" " \t\t\tpwep->KeyLength = wep_key_len;\n" " \t\t\tpwep->Length = wep_key_len +\n" " \t\t\t\t FIELD_OFFSET(struct NDIS_802_11_WEP," -42e6321f110fbff9935359bd351fdaa40a91b75d745ba6272e5d0da82126a149 +531e4ec486f040b01cd1ce363ef8c9e4da0f7ca6cd4df51d6f54ceb173e7ec3a
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.