Wireshark-commits: [Wireshark-commits] master 3c143d2: androiddump 1.0.2: Fix a lot of usage of rec

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 12 Mar 2016 18:26:49 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3c143d28468a68e6c9460c649d075231756de858
Submitter: Michal Labedzki (michal.labedzki@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3c143d2 by Michal Labedzki (michal.labedzki@xxxxxxxxx):

    androiddump 1.0.2: Fix a lot of usage of recv()
    
    recv() can return negative value or 0 in "error cases".
    There is need to check it. This also solved empty interfaces
    list if there is unauthenticated device.
    
    Bug: 12080
    Change-Id: If6cd0e0933b64e9ac9bbb66b3b8138f7177451d1
    Reviewed-on: https://code.wireshark.org/review/14316
    Petri-Dish: Michal Labedzki <michal.labedzki@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michal Labedzki <michal.labedzki@xxxxxxxxx>
    

Actions performed:

    from  a69d07d   [docsis->mdd] Add support for TLV 1.6
    adds  3c143d2   androiddump 1.0.2: Fix a lot of usage of recv()


Summary of changes:
 doc/androiddump.pod  |    8 +-
 extcap/androiddump.c |  244 +++++++++++++++++++++++++++++++++++---------------
 2 files changed, 175 insertions(+), 77 deletions(-)