Wireshark-commits: [Wireshark-commits] master 4a51f62: use the correct end index when we loop over
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 20 Mar 2014 08:39:03 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4a51f624bf1028ddc7c73fd665ad292ff344060d
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4a51f62 by Martin Kaiser (wireshark@xxxxxxxxx):

    use the correct end index when we loop over the open_info_arr
    
    until recently, we always had a 0,0,0,... entry at the end of the array
    that's gone now - which makes sense for people who register wiretap
    plugins...
    
    Change-Id: Id47dc4917481ffa8560e17b8740c2f9716bb8df1
    Reviewed-on: https://code.wireshark.org/review/747
    Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  c14cc2f   Make checkAPIs happy strncpy -> g_strlcpy
    adds  4a51f62   use the correct end index when we loop over the open_info_arr


Summary of changes:
 wiretap/file_access.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)