Wireshark-commits: [Wireshark-commits] master 5d38999: opa-mad: Fix PortSelectMask parsing to commo
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5d38999b579f1b618e6bde8a7d752f275aca1fc5
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
5d38999 by Goldman, Adam (adam.goldman@xxxxxxxxx):
opa-mad: Fix PortSelectMask parsing to common function
Added Common function to convert 256-bit Port Select Mask into a range
string (e.g. "1-3,5-8,10").
Used wmem_strbuf API to allocate range string.
Change-Id: I70d737d1a33e84c7961eaf0bf83a1bc0689380a1
Signed-off-by: Adam Goldman <adam.goldman@xxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/28506
Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 9d5ab21 wiretap: fix leak of options_buf and document memory handling
add 5d38999 opa-mad: Fix PortSelectMask parsing to common function
Summary of changes:
epan/dissectors/packet-opa-mad.c | 142 +++++++++++++++++++++------------------
1 file changed, 77 insertions(+), 65 deletions(-)