Wireshark-commits: [Wireshark-commits] master 52ce1b0: SNMP: fix insertion of first entry in SNMP U
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=52ce1b03e04e9a941b1df599214ce205aeafe3e0
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
52ce1b0 by Pascal Quantin (pascal.quantin@xxxxxxxxx):
SNMP: fix insertion of first entry in SNMP Users UAT
when using the GUI to add the first entry, num_ueas is still 0.
Change-Id: Iea03495a2e5e39b71391a01454aec5fb6e2b05eb
Reviewed-on: https://code.wireshark.org/review/20191
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Actions performed:
from 1089211 SNMP: duplicate dynamic members of snmp_ue_assoc_t structure in localize_ue()
adds 52ce1b0 SNMP: fix insertion of first entry in SNMP Users UAT
Summary of changes:
epan/dissectors/asn1/snmp/packet-snmp-template.c | 46 +++++++++----------
epan/dissectors/packet-snmp.c | 52 ++++++++++------------
2 files changed, 45 insertions(+), 53 deletions(-)