Wireshark-commits: [Wireshark-commits] master-2.2 1c9e52e: BER: Fix segmentation fault when configu
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 31 Jul 2016 17:59:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1c9e52ea093625055d66c9ec7a413a93a09ee441
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

1c9e52e 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>
    (cherry picked from commit bf123efe154dfdde06ee3c78cf8af05ed01a691b)
    Reviewed-on: https://code.wireshark.org/review/16814
    

Actions performed:

    from  e64b3d8   [Automatic update for 2016-07-31]
    adds  1c9e52e   BER: Fix segmentation fault when configuring new OIDs


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