Thread (11 messages) 11 messages, 4 authors, 2020-06-30

Re: [PATCH 2/2] usb: mtu3: fix NULL pointer dereference

From: Markus Elfring <hidden>
Date: 2020-06-29 21:40:45
Also in: kernel-janitors, linux-mediatek, linux-usb, lkml

Some pointers are dereferenced before successful checks.
I suggest to reconsider and improve the change description.

* Would a null pointer dereference be possible only with the variables “mep”
  and “mreq” in the implementation of the function “mtu3_gadget_dequeue”?

* How do you think about to adjust any more variable initialisations?

* Will it become helpful to add the tag “Fixes” to the commit message?

Regards,
Markus

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help