URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ce90d98ee007b205efec802046f7299c4eb56e67
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
ce90d98 by Michael Mann (mmann78@xxxxxxxxxxxx):
    packet-dcm.c: Cleanup memory usage with strings
    
    wmem_file_scope() was used too many times when wmem_packet_scope() will do.
    Also, use the wmem string functions to only allocate enough space to
    handle a string instead of using MAX_BUF_LEN.
    
    Change-Id: I3031d3aef34b7105264b17dc83e3b1f4cfb4b3d4
    Reviewed-on: https://code.wireshark.org/review/18910
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    
Actions performed:
    from  dd5697b   diameter: add values for AVP 2037
    adds  ce90d98   packet-dcm.c: Cleanup memory usage with strings
Summary of changes:
 epan/dissectors/packet-dcm.c |  140 +++++++++++++++++-------------------------
 1 file changed, 58 insertions(+), 82 deletions(-)