Wireshark-commits: [Wireshark-commits] master 518f339: lbm: fix "member access within null pointer"

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 3 Aug 2014 13:23:40 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=518f33957d273519581601bf985e26f4bb561981
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

518f339 by Peter Wu (peter@xxxxxxxxxxxxx):

    lbm: fix "member access within null pointer" warning
    
    This patch avoids the following warning with `clang -fsanitize=undefined`:
    
        epan/dissectors/packet-lbtrm.c:1519:36: runtime error: member access within null pointer of type 'lbtrm_hdr_t'
    
    Change-Id: I973caf92547f5d16c0de20908b2b3fbc09227df0
    Reviewed-on: https://code.wireshark.org/review/3313
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  2d50397   paltalk: fix undefined behavior (shift out of range)
    adds  518f339   lbm: fix "member access within null pointer" warning


Summary of changes:
 epan/dissectors/packet-lbm.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)