summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDeren Wu <deren.wu@mediatek.com>2022-12-08 00:03:10 +0800
committerFelix Fietkau <nbd@nbd.name>2022-12-09 16:45:39 +0100
commit0ffcb2a68b15bd63d5555a923ae7dfe8bfdb14a7 (patch)
treeefe20ddffd7dcfb15df53f84ba7ac9031a1c6ec8 /tools/perf/scripts/python/export-to-postgresql.py
parentedb0406bda4629ef496f52eb11cbea7e92ed301b (diff)
wifi: mt76: fix coverity uninit_use_in_call in mt76_connac2_reverse_frag0_hdr_trans()
The default case for frame_contorl is invalid. We should always assign addr3 of this frame properly. Coverity error message: if (ieee80211_has_a4(hdr.frame_control)) (19) Event uninit_use_in_call: Using uninitialized value "hdr". Field "hdr.addr3" is uninitialized when calling "memcpy". memcpy(skb_push(skb, sizeof(hdr)), &hdr, sizeof(hdr)); else memcpy(skb_push(skb, sizeof(hdr) - 6), &hdr, sizeof(hdr) - 6); Fixes: 0880d40871d1 ("mt76: connac: move mt76_connac2_reverse_frag0_hdr_trans in mt76-connac module") Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions