at
|
bytes_to_move -= bytes_this_time; |
there should be an additional line:
read_end_offset -= bytes_this_time;
the code won't work if the existing data in the file is longer than buffer size
(the SO post referenced near the shift_file function was updated with a comment)
Regards
at
tcpflow/src/tcpip.cpp
Line 448 in 6fd956d
there should be an additional line:
read_end_offset -= bytes_this_time;
the code won't work if the existing data in the file is longer than buffer size
(the SO post referenced near the shift_file function was updated with a comment)
Regards