Wireshark-commits: [Wireshark-commits] master a8766cc: Check for read errors in the open routine.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 7 Nov 2015 22:46:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a8766cc9f9fcc531f4a04080377ac0e8624d488c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a8766cc by Guy Harris (guy@xxxxxxxxxxxx):

    Check for read errors in the open routine.
    
    While we're at it, rename a variable to avoid colliding with the read()
    routine.
    
    Change-Id: I6629ec761f48751f34a2e7d04180d7583ad85710
    Reviewed-on: https://code.wireshark.org/review/11626
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  4897ef1   Just use <wsutil/file_util.h>.
    adds  a8766cc   Check for read errors in the open routine.


Summary of changes:
 wiretap/json.c |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)