Wireshark-commits: [Wireshark-commits] master b031e53: Lua: Check for empty name in ProtoField

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 11 Dec 2015 16:56:52 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b031e538f707cead2aa3e9d956eb88ff1d0db4fc
Submitter: Stig Bj?rlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b031e53 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Lua: Check for empty name in ProtoField
    
    The check in tmp_fld_check_assert() does terminate with g_error
    if given an empty string as name, so we have to check for this.
    
    Change-Id: I084e3e715bd319484a52f60ef90c1a2aea30df1b
    Reviewed-on: https://code.wireshark.org/review/12534
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  6586926   MIPv6: Add support for "Home Agent Switch Message" Mobility Header
    adds  b031e53   Lua: Check for empty name in ProtoField


Summary of changes:
 epan/wslua/wslua_proto_field.c |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)