Tag: 17db84eba18eaa20fab687bf38418a2286cb085a

staging: wilc1000: avoid NULL pointer dereference on error

Author: Vincent Stehlé <vincent.stehle@laposte.net> The host_int_init() function can dereference the pstrWFIDrv pointer while it is NULL on its error path. Jump directly to the _fail_ error label in the end of the error handling path to avoid that. By doing that we also skip stopping our kthread and destroying our message queue, but they were …

Continue reading