diff options
| author | Per Forlin <[email protected]> | 2016-04-17 15:25:03 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-04-26 12:18:37 +0300 |
| commit | 53985dccb1c98b7af080e2314bff0c5024e781b0 (patch) | |
| tree | 38cfe040a910bb1f9118d2dceddd651d2184e000 /tools/perf/scripts/python | |
| parent | 7705ba6f7badb8cf38a0a19dad71e11a77ecb9cd (diff) | |
brcmf: Fix null pointer exception in bcdc_hdrpull
In fwsignal.c: brcmf_fws_commit_skb()
...
if (rc < 0) {
entry->transit_count--;
if (entry->suppressed)
entry->suppr_transit_count--;
(void)brcmf_proto_hdrpull(fws->drvr, false, skb, NULL);
^^^^^^^
goto rollback;
}
...
The call to hdrpull will trigger a null pointer exception
unless a null check is made in the method implementation.
Signed-off-by: Per Forlin <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions