Wireshark-commits: [Wireshark-commits] master e5353bf: Use g_ alloced memory (instead of emem) when
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 19 May 2014 01:46:57 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e5353bf1198d6abf748de78084ff64f597f13663
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e5353bf by Michael Mann (mmann78@xxxxxxxxxxxx):

    Use g_ alloced memory (instead of emem) when printing fields.  emem shouldn't be used for GUI functions anyway.
    
    emem was exposed because of its memory limits trying to output PDML for a very large byte field in a capture file.
    
    When converting from proto_construct_match_selected_string to fvalue_to_string_repr remember proto_construct_match_selected_string includes fieldname + value, not just value
    
    bug:10081
    Change-Id: I4fc6ea7fd1f63cff410207c8b30562771af40ada
    Reviewed-on: https://code.wireshark.org/review/1578
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  f75f47b   MySQL: fix soft-deprecated APIs
    adds  e5353bf   Use g_ alloced memory (instead of emem) when printing fields.  emem shouldn't be used for GUI functions anyway.


Summary of changes:
 epan/print.c                |   69 +++++++++++++------------------------------
 epan/print.h                |    2 +-
 ui/gtk/main.c               |    5 ++--
 ui/qt/main_window_slots.cpp |    4 ++-
 4 files changed, 28 insertions(+), 52 deletions(-)