Wireshark-commits: [Wireshark-commits] master 209b082: Check for zero-length options.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 10 Apr 2014 01:30:30 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=209b08225f23e4200ca2ecba79b4d9a70b3eae59
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

209b082 by Guy Harris (guy@xxxxxxxxxxxx):

    Check for zero-length options.
    
    Otherwise, we get an infinite loop when processing options.  This might
    be the cause of bug 9967.
    
    Change-Id: If115c8cc8fc87b0c4252ab3cd07bfa34952786c6
    Reviewed-on: https://code.wireshark.org/review/1050
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  ea7660a   Fix two ett_ variables that weren't getting registered.
    adds  209b082   Check for zero-length options.


Summary of changes:
 epan/dissectors/packet-lbtru.c |   32 ++++++++++++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)