aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorNicolás Alvarez <nicolas.alvarez@gmail.com>2021-06-05 20:21:19 -0300
committerNicolás Alvarez <nicolas.alvarez@gmail.com>2021-06-05 20:22:07 -0300
commit577282f679d2bf3c4236fe916f8e1ce84c10c12c (patch)
treef5e694ccc3af3275e620bfa48c05ebe0eeb27eb2 /tshark.c
parent1718151a6575eb2f58a197d16d89e8c0c9752e57 (diff)
Fix null dereference in ipsec esp_sa_record_add_from_dissector
The esp_sa_record_add_from_dissector function is passing a null pointer to the err argument of uat_esp_sa_record_update_cb, which then dereferences it. Apparently esp_sa_record_add_from_dissector is not called anywhere in Wireshark, but it's exported and available for external code to call it. Fix by passing a pointer to a local char* instead. Bug found by clang static analyzer.
Diffstat (limited to 'tshark.c')
0 files changed, 0 insertions, 0 deletions