- possible-dereference-in.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Possible NULL dereference in drivers/infiniband/hw/amso1100/c2_cm.c

has been removed from the -mm tree.  Its filename is

     possible-dereference-in.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: Possible NULL dereference in drivers/infiniband/hw/amso1100/c2_cm.c
From: Eric Sesterhenn <snakebyte@xxxxxx>

Another NULL dereference spotted by the coverity checker (cid #1395) In
case we cant alloc the vq_req, we goto bail1, where we call
vq_req_free(c2dev, vq_req); which then dereferences vq_req().

Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx>
Cc: Roland Dreier <rolandd@xxxxxxxxx>
Cc: Tom Tucker <tom@xxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/infiniband/hw/amso1100/c2_cm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/infiniband/hw/amso1100/c2_cm.c~possible-dereference-in drivers/infiniband/hw/amso1100/c2_cm.c
--- a/drivers/infiniband/hw/amso1100/c2_cm.c~possible-dereference-in
+++ a/drivers/infiniband/hw/amso1100/c2_cm.c
@@ -302,7 +302,7 @@ int c2_llp_accept(struct iw_cm_id *cm_id
 	vq_req = vq_req_alloc(c2dev);
 	if (!vq_req) {
 		err = -ENOMEM;
-		goto bail1;
+		goto bail0;
 	}
 	vq_req->qp = qp;
 	vq_req->cm_id = cm_id;
_

Patches currently in -mm which might be from snakebyte@xxxxxx are

origin.patch
git-gfs2.patch
remove-unnecessary-check-in-drivers-video-intelfb-intelfbhwc.patch
remove-unnecessary-check-in-drivers-net-depcac.patch
off-by-one-in-arch-ppc-platforms-mpc8.patch
git-scsi-misc.patch
remove-unnecessary-check-in-drivers-scsi-sgc.patch
overrun-in-drivers-scsi-scsic.patch
off-by-one-in-drivers-char-mwave-mwaveddc.patch
remove-unnecessary-check-in-drivers-rtc-rtc-v3020c.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux