Messages in this thread | | | From | Anirban Chakraborty <> | Date | Fri, 25 Sep 2009 00:36:36 -0700 | Subject | Re: [PATCH 4/5] SCSI: qla2xxx, fix NULL-ptr dereference |
| |
On Sep 23, 2009, at 7:15 AM, Jiri Slaby wrote:
> Stanse found a NULL-ptr dereference on one fail path in > qla25xx_create_rsp_que. It jumps to que_failed label and > qla25xx_free_rsp_que there dereferences rsp which is NULL. > > Return with ENOMEM directly instead. > Thanks for pointing it out. There is another code path (create_req_que) where the same bug exists. I will send a patch that takes care of the both.
-Anirban
| |