Null pointer crash in p2p_sd_cb

Olsson, Ola Ola.Olsson
Tue Jan 20 02:12:44 PST 2015


Thanks for the fast reply regarding the recursion problem I had. I really liked your solution. :)

Another crash was found and I am attaching the solution.

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc

   #00 pc 0002ee98  /system/bin/wpa_supplicant

   2ee90:       f7fc f8b6       bl      2b000 <p2p_dbg>
   2ee94:       e02c            b.n     2eef0 <p2p_send_action_cb+0x348>
   2ee96:       6c25            ldr     r5, [r4, #64]   ; 0x40
   2ee98:       68ee            ldr     r6, [r5, #12]
   2ee9a:       b166            cbz     r6, 2eeb6 <p2p_send_action_cb+0x30e>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Null-pointer-crash-caused-by-commit.patch
Type: application/octet-stream
Size: 1231 bytes
Desc: 0001-Null-pointer-crash-caused-by-commit.patch
URL: <>

More information about the Hostap mailing list