diff for duplicates of <20100715082309.GE5164@bicker> diff --git a/a/1.txt b/N1/1.txt index 7c2b631..619099e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,8 +15,8 @@ index 78f089b..11d5ec2 100644 ezusb_ctx_complete(list_entry(item, struct request_context, list)); -- if (upriv->read_urb->status = -EINPROGRESS) -+ if (upriv->read_urb && upriv->read_urb->status = -EINPROGRESS) +- if (upriv->read_urb->status == -EINPROGRESS) ++ if (upriv->read_urb && upriv->read_urb->status == -EINPROGRESS) printk(KERN_ERR PFX "Some URB in progress\n"); mutex_unlock(&upriv->mtx); diff --git a/a/content_digest b/N1/content_digest index f674df5..e00573c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch] orinoco_usb: potential null dereference\0" - "Date\0Thu, 15 Jul 2010 08:23:10 +0000\0" + "Date\0Thu, 15 Jul 2010 10:23:10 +0200\0" "To\0Pavel Roskin <proski@gnu.org>\0" "Cc\0David Gibson <hermes@gibson.dropbear.id.au>" John W. Linville <linville@tuxdriver.com> @@ -27,8 +27,8 @@ " \t ezusb_ctx_complete(list_entry(item,\n" " \t\t\t\t\t struct request_context, list));\n" " \n" - "-\tif (upriv->read_urb->status = -EINPROGRESS)\n" - "+\tif (upriv->read_urb && upriv->read_urb->status = -EINPROGRESS)\n" + "-\tif (upriv->read_urb->status == -EINPROGRESS)\n" + "+\tif (upriv->read_urb && upriv->read_urb->status == -EINPROGRESS)\n" " \t\tprintk(KERN_ERR PFX \"Some URB in progress\\n\");\n" " \n" " \tmutex_unlock(&upriv->mtx);\n" @@ -46,4 +46,4 @@ " \t\tstruct orinoco_private *priv = ndev_priv(upriv->dev);\n" " \t\torinoco_if_del(priv);" -e1c2bc309f1265bc0797a26f67e71f2a7fb3105f5205277f8caeaab7e3975ef0 +83175403acc82e718f45814c35b3313927459d35b040f700d71cc341234edda0
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.