Wireshark-commits: [Wireshark-commits] master 992c892: MIB/OID Fix assertion in proto.c tmp_fld_che

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 4 Aug 2015 14:55:43 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=992c892b93034461c651fd16b659f8011bc078b4
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

992c892 by AndersBroman (anders.broman@xxxxxxxxxxxx):

    MIB/OID Fix assertion in proto.c tmp_fld_check_assert().
    It seems like oid_data->name may get freed so do a g_strdup() as it's done
    for hf.hfinfo.abbrev.
    
    Change-Id: Ie05fb42d59556aec300d4e007b1db5cc79d8d6f1
    Reviewed-on: https://code.wireshark.org/review/9864
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  8421af3   Rename nettrace3gpp324423 to 3gpp32423
    adds  992c892   MIB/OID Fix assertion in proto.c tmp_fld_check_assert(). It seems like oid_data->name may get freed so do a g_strdup() as it's done for hf.hfinfo.abbrev.


Summary of changes:
 epan/oids.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)