[Bug 207125] Possible null pointer dereference in ohci_restart()

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=207125

--- Comment #2 from Dongyang Zhan (zhandy@xxxxxxxxxx) ---
(In reply to Alan Stern from comment #1)
> This is not a bug.  When ohci_restart() calls ohci_init(), ohci->hcca
> has already been initialized to a non-NULL value.  Therefore the
> -ENOMEM return cannot happen.

ohci->hcca will be allocated again in the ohci_init()
Could it fail in that function?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux