Wireshark-commits: [Wireshark-commits] master-2.2 13c8918: 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:45:13 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=13c891884b0b28a4bb293da21a1ece461c737d76
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

13c8918 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/19274
    

Actions performed:

    from  08e16c8   2.2.3 → 2.2.4.
    adds  13c8918   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(-)