softmac possible null deref [was: Complete report of Null dereferenceerrors in kernel]

From: Daniel Drake
Date: Mon Jul 24 2006 - 19:52:03 EST

Tom Walter Dillig wrote:
452 net/ieee80211/softmac/ieee80211softmac_io.c
Possible null dereference of variable "*pkt" in function call
(include/asm/string.h:__constant_c_and_count_memset) checked at

Either I'm misunderstanding, or this is bogus.

when *pkt is allocated by the various child functions (e.g. ieee80211softmac_disassoc_deauth), it is always checked for NULL before being used.

Finally, line 453 does another NULL check, so that any failures generated above are handled appropriately.

What is the report trying to say?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at