diff for duplicates of <20100427092012.GA29093@bicker> diff --git a/a/1.txt b/N1/1.txt index 1e15887..1c3f13d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,12 +10,12 @@ index fd10331..418825d 100644 @@ -122,25 +122,25 @@ static int ipheth_alloc_urbs(struct ipheth_device *iphone) tx_urb = usb_alloc_urb(0, GFP_KERNEL); - if (tx_urb = NULL) + if (tx_urb == NULL) - goto error; + goto error_nomem; rx_urb = usb_alloc_urb(0, GFP_KERNEL); - if (rx_urb = NULL) + if (rx_urb == NULL) - goto error; + goto free_tx_urb; @@ -23,7 +23,7 @@ index fd10331..418825d 100644 IPHETH_BUF_SIZE, GFP_KERNEL, &tx_urb->transfer_dma); - if (tx_buf = NULL) + if (tx_buf == NULL) - goto error; + goto free_rx_urb; @@ -31,7 +31,7 @@ index fd10331..418825d 100644 IPHETH_BUF_SIZE, GFP_KERNEL, &rx_urb->transfer_dma); - if (rx_buf = NULL) + if (rx_buf == NULL) - goto error; + goto free_tx_buf; diff --git a/a/content_digest b/N1/content_digest index 4d04737..d551929 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch] ipheth: potential null dereferences on error path\0" - "Date\0Tue, 27 Apr 2010 09:20:12 +0000\0" + "Date\0Tue, 27 Apr 2010 11:20:12 +0200\0" "To\0Diego Giagio <diego@giagio.com>\0" "Cc\0David S. Miller <davem@davemloft.net>" " L. Alberto Gim\303\251nez <agimenez@sysvalve.es>" @@ -20,12 +20,12 @@ "@@ -122,25 +122,25 @@ static int ipheth_alloc_urbs(struct ipheth_device *iphone)\n" " \n" " \ttx_urb = usb_alloc_urb(0, GFP_KERNEL);\n" - " \tif (tx_urb = NULL)\n" + " \tif (tx_urb == NULL)\n" "-\t\tgoto error;\n" "+\t\tgoto error_nomem;\n" " \n" " \trx_urb = usb_alloc_urb(0, GFP_KERNEL);\n" - " \tif (rx_urb = NULL)\n" + " \tif (rx_urb == NULL)\n" "-\t\tgoto error;\n" "+\t\tgoto free_tx_urb;\n" " \n" @@ -33,7 +33,7 @@ " \t\t\t\t IPHETH_BUF_SIZE,\n" " \t\t\t\t GFP_KERNEL,\n" " \t\t\t\t &tx_urb->transfer_dma);\n" - " \tif (tx_buf = NULL)\n" + " \tif (tx_buf == NULL)\n" "-\t\tgoto error;\n" "+\t\tgoto free_rx_urb;\n" " \n" @@ -41,7 +41,7 @@ " \t\t\t\t IPHETH_BUF_SIZE,\n" " \t\t\t\t GFP_KERNEL,\n" " \t\t\t\t &rx_urb->transfer_dma);\n" - " \tif (rx_buf = NULL)\n" + " \tif (rx_buf == NULL)\n" "-\t\tgoto error;\n" "+\t\tgoto free_tx_buf;\n" " \n" @@ -65,4 +65,4 @@ " \treturn -ENOMEM;\n" } -2717c504a9aac405b3a5625ab1efaf0d1d69a85a5abc22e459ab0be37be0400c +e49cdc5afe1e24d38fd24f4d65e5468b9b2f4e6fd68dd875c0a73344bc7304a1
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.