RE: [patch] mwifiex: restore handling of NULL parameters

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

 



Hi Dan,

> Prior to a5ffddb70c5cab "mwifiex: remove casts of void pointers" the
> code assumed that the data_buf parameter could be a NULL pointer.
> The patch preserved some NULL checks but not consistently, so there
> was a potential for NULL dereferences and it changed the behavior.

Thanks for the catch!

> This patch restores the original behavior.
> 
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Acked-by: Bing Zhao <bzhao@xxxxxxxxxxx>

Best regards,
Bing
 
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux