Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 5fdbb7a: Don't assume we've read a line long enough t

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 14 Dec 2016 22:44:13 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5fdbb7a5ac8a0a68b42264bde094b90d455350e5
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

5fdbb7a 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>
    

Actions performed:

    from  f78b60d   nordic_ble: Add legacy version support
    adds  5fdbb7a   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(-)