aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/div64.h
diff options
context:
space:
mode:
authorJouni Malinen <jkmaline@cc.hut.fi>2005-08-28 17:53:32 -0700
committerJeff Garzik <jgarzik@pobox.com>2005-08-31 22:48:39 -0400
commitfbff868db3a4cc6a89d51da9a6d49b26c29d04fb (patch)
tree3582ea805d0153b42979bdc8315c68607db928b6 /include/asm-ppc64/div64.h
parent[PATCH] hostap: Fix null pointer dereference in prism2_pccard_card_present() (diff)
downloadlinux-dev-fbff868db3a4cc6a89d51da9a6d49b26c29d04fb.tar.xz
linux-dev-fbff868db3a4cc6a89d51da9a6d49b26c29d04fb.zip
[PATCH] hostap: Fix null pointer dereference in prism2_pccard_card_present()
local->hw_priv was initialized only after the interrupt handler was registered. This could trigger a NULL pointer dereference in prism2_pccard_card_present() that assumed that local->hw_priv is always set (and it should have been). Fix this by setting local->hw_priv before registering the interrupt handler. Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/asm-ppc64/div64.h')
0 files changed, 0 insertions, 0 deletions