When there is no enough memory, functions skb_clone() and dev_alloc_skb() may
return NULL pointers, they should be checked against NULL before used.
This bug is found by a static analysis tool developed by RUC_SoftSec, supported
by China.X.Orion.
Signed-off-by: RUC_SoftSec
---
drivers/staging
Function skb_clone() and dev_alloc_skb() may return NULL pointers if there is
no enough memroy, their return values should be checked against NULL before
used.
This bug is found by a static tool developed by RUC_SoftSec, supported by
China.X.Orion.
Signed-off-by: RUC_SoftSec
---
drivers
Function dev_alloc_skb() may return a NULL pointer if there is no enough
memory, it should be checked against NULL before used.
This bug is found by a static analysis tool developed by RUC_SoftSec, supported
by China.X.Orion.
Signed-off-by: RUC_SoftSec
---
drivers/staging/rtl8192u
Function dev_alloc_skb() may return a NULL pointer when there is no enough
memory, its return value should be checked before used.
This bug is found by a static analysis tool developed by RUC_SoftSec, supported
by China.X.Orion.
Signed-off-by: RUC_SoftSec
---
.../staging/rtl8192e/rtl8192e