Wireshark-commits: [Wireshark-commits] master-2.0 43ee6cb: Don't assume we've read a line long enou
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 14 Dec 2016 22:46:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=43ee6cb14c3c4c4725bfdad14b2dce3e01944747
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

43ee6cb by Guy Harris (guy@xxxxxxxxxxxx):

    Don't assume we've read a line long enough to contain a magic number.
    
    Check the length of the line first.
    
    Bug: 13246
    Change-Id: I906bb652594898061afb4b2cd4edb916af354161
    Reviewed-on: https://code.wireshark.org/review/19273
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 5fdbb7a5ac8a0a68b42264bde094b90d455350e5)
    Reviewed-on: https://code.wireshark.org/review/19275
    

Actions performed:

    from  9c140ae   2.0.9 → 2.0.10.
    adds  43ee6cb   Don't assume we've read a line long enough to contain a magic number.


Summary of changes:
 wiretap/daintree-sna.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)