Wireshark-commits: [Wireshark-commits] master bf123ef: BER: Fix segmentation fault when configuring

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 31 Jul 2016 17:58:48 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bf123efe154dfdde06ee3c78cf8af05ed01a691b
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

bf123ef by Vasil Velichckov (vvvelichkov@xxxxxxxxx):

    BER: Fix segmentation fault when configuring new OIDs
    
     Program terminated with signal 11, Segmentation fault.
     #0  0x00007f573e5bdecf in uat_fld_chk_oid (u1=0x2eb1830, strptr=0x7f573c8431e4 "", len=0, u2=0x0, u3=0x0, err=0x7ffee1668748) at uat.c:494
     494	    if(strptr[len-1] == '.') {
     (gdb)
     (gdb) bt
     #0  0x00007f573e5bdecf in uat_fld_chk_oid (u1=0x2eb1830, strptr=0x7f573c8431e4 "", len=0, u2=0x0, u3=0x0, err=0x7ffee1668748) at uat.c:494
     #1  0x0000000000485dfc in uat_dlg_cb (win=0x3844290, user_data=0x3632bc0) at uat_gui.c:364
     #2  0x00007f573b2f19a7 in _g_closure_invoke_va (closure=0x3367130, return_value=0x0, instance=0x3844290, args=0x7ffee1668a78, n_params=0,
    
    Change-Id: Ic61480f8c1f2cd833c58de0b2acc24dcb831578f
    Reviewed-on: https://code.wireshark.org/review/16800
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  3c47d97   IPv6: Remove an unused #define and two macros
    adds  bf123ef   BER: Fix segmentation fault when configuring new OIDs


Summary of changes:
 epan/uat.c |    5 +++++
 1 file changed, 5 insertions(+)