diff for duplicates of <20140129131850.GD10678@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index 4113d47..9e421c4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,6 +1,6 @@ We use "tx_desc" again after we free it. -Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> +Signed-off-by: Dan Carpenter <dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> diff --git a/drivers/infiniband/ulp/iser/iser_initiator.c b/drivers/infiniband/ulp/iser/iser_initiator.c index 538822684d5b..334f34b1cd46 100644 @@ -15,8 +15,12 @@ index 538822684d5b..334f34b1cd46 100644 atomic_dec(&ib_conn->post_send_buf_count); -- if (tx_desc->type = ISCSI_TX_CONTROL) { -+ if (tx_desc && tx_desc->type = ISCSI_TX_CONTROL) { +- if (tx_desc->type == ISCSI_TX_CONTROL) { ++ if (tx_desc && tx_desc->type == ISCSI_TX_CONTROL) { /* this arithmetic is legal by libiscsi dd_data allocation */ task = (void *) ((long)(void *)tx_desc - sizeof(struct iscsi_task)); +-- +To unsubscribe from this list: send the line "unsubscribe linux-rdma" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 404d3af..e467b1b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ - "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" + "From\0Dan Carpenter <dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>\0" "Subject\0[patch] IB/iser: use after free in iser_snd_completion()\0" - "Date\0Wed, 29 Jan 2014 13:18:51 +0000\0" + "Date\0Wed, 29 Jan 2014 16:18:51 +0300\0" "To\0Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>\0" "Cc\0Roi Dayan <roid-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>" Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> @@ -12,7 +12,7 @@ "b\0" "We use \"tx_desc\" again after we free it.\n" "\n" - "Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n" + "Signed-off-by: Dan Carpenter <dan.carpenter-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>\n" "\n" "diff --git a/drivers/infiniband/ulp/iser/iser_initiator.c b/drivers/infiniband/ulp/iser/iser_initiator.c\n" "index 538822684d5b..334f34b1cd46 100644\n" @@ -27,10 +27,14 @@ " \n" " \tatomic_dec(&ib_conn->post_send_buf_count);\n" " \n" - "-\tif (tx_desc->type = ISCSI_TX_CONTROL) {\n" - "+\tif (tx_desc && tx_desc->type = ISCSI_TX_CONTROL) {\n" + "-\tif (tx_desc->type == ISCSI_TX_CONTROL) {\n" + "+\tif (tx_desc && tx_desc->type == ISCSI_TX_CONTROL) {\n" " \t\t/* this arithmetic is legal by libiscsi dd_data allocation */\n" " \t\ttask = (void *) ((long)(void *)tx_desc -\n" - " \t\t\t\t sizeof(struct iscsi_task));" + " \t\t\t\t sizeof(struct iscsi_task));\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-rdma\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -ff5ce9efd795a6059f15348e3ef53d6e930d0c12f0aab543b38946d4831e421d +97efa254439a7256d33141d1c07d24e869689032ea5bfd34d631489d264945ca
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.