Re: Wireless-testing's b43 panics in b43_generate_txhdr on packet transmit



On Saturday 31 May 2008 18:50:36 Pavel Roskin wrote:
On Sat, 2008-05-31 at 18:41 +0200, Michael Buesch wrote:
On Saturday 31 May 2008 18:34:29 Stefanik Gábor wrote:
"BUG: unable to handle kernel NULL pointer dereference at 00000004
IP: [<f8dd3a99>] :b43:b43_generate_txhdr+0x6a9/0x790

So can you put a few printks into the function to see where it dereferences
a NULL pointer? (or use gdb to lookup the offset).

u8 key_idx = info->control.hw_key->hw_key_idx;

info->control.hw_key is NULL.

Is a NULL pointer supposed to tell "do not encrypt", or is this a mac80211 bug?

--
Greetings Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: interpreting a null pointer as an empty (null string)
    ... >>saying that treating null pointer dereferences as empty string ... I was actually saying (and I'm still working on letting myself be ... > Looks like this is explicitly disallowed by the Standard, ...
    (comp.lang.c)
  • Re: interpreting a null pointer as an empty (null string)
    ... >>saying that treating null pointer dereferences as empty string ... >>maybe operating system level dependent. ... > Looks like this is explicitly disallowed by the Standard, ... > location zero through a null pointer would therefore be in direct ...
    (comp.lang.c)
  • Re: [linux-usb-devel] Re: [OOPS, usbcore, releaseintf] 2.6.0-test10-mm1
    ... > it dereferences a NULL pointer in here: ... What does the PREEMPT mean? ... pointer was dereferenced. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: interpreting a null pointer as an empty (null string)
    ... > Sorry for beating a seemingly dead horse, but I'm not seeing how this ... saying that treating null pointer dereferences as empty string ... _You_ are not allowed to dereference a null pointer. ... pretending that you'd dereferenced a pointer to an empty string. ...
    (comp.lang.c)
  • Re: STL : Pointer to vector element
    ... > Does a pointer to an element of a vector remain valid after calling ... > Which dereferences to: 1 ... > Adress of the first element in the vector is: ... > Adress of the first element in the vector is now: ...
    (comp.lang.cpp)