Control: tags -1 + upstream fixed-upstream patch

Dear Maintainer,
I tried to have a look at this crash
and I guess I found something.

The "Code:" sequence points to src/scan.c:1706.

There it seems like variable sr got a null pointer
and therefore the assignment crashes.

    (gdb) list src/scan.c:1700,src/scan.c:1710
    1700            case NL80211_CMD_TRIGGER_SCAN:
    1701                    if (active_scan)
    1702                            sc->state = SCAN_STATE_ACTIVE;
    1703                    else
    1704                            sc->state = SCAN_STATE_PASSIVE;
    1705
    1706                    sr->start_time_tsf = start_time_tsf;           
<<<<<<<<<<<<
    1707
    1708                    break;
    1709
    1710            case NL80211_CMD_SCAN_ABORTED:


Upstream git [1] has a fix committed.


Kind regards,
Bernhard


https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/src/scan.c?id=d2556a48b7d65eb670fb0ce20e3f929bf9839a20

Reply via email to