Wireshark-commits: [Wireshark-commits] lts-1.12.1 479c1f5: Don't assume file_read() won't itself re

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 31 May 2015 18:44:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=479c1f53ec732fb710f3e431aa294f8149efb4a3
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark

Commits:

479c1f5 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't assume file_read() won't itself return WTAP_ERR_SHORT_READ.
    
    There are some paths where it will.
    
    Change-Id: Ic086fc8160a69b433f8acafd4e387cf9a0c8b38c
    Reviewed-on: https://code.wireshark.org/review/8434
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/8645
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    

Actions performed:

    from  666beef   Backport some parts of Ia5dba2a6f81151e87b614461349d611cffc16210.
    adds  479c1f5   Don't assume file_read() won't itself return WTAP_ERR_SHORT_READ.


Summary of changes:
 wiretap/logcat.c |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)