Wireshark-commits: [Wireshark-commits] master-2.0 66bbc40: Lua: Check for empty name in ProtoField

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

Commits:

66bbc40 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>
    (cherry picked from commit b031e538f707cead2aa3e9d956eb88ff1d0db4fc)
    Reviewed-on: https://code.wireshark.org/review/12535
    

Actions performed:

    from  febc943   ENIP: Add sanity check when connection info not available
    adds  66bbc40   Lua: Check for empty name in ProtoField


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