"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mime/file_mime_process.cc" between
snort3-3.1.29.0.tar.gz and snort3-3.1.30.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

file_mime_process.cc  (snort3-3.1.29.0):file_mime_process.cc  (snort3-3.1.30.0)
skipping to change at line 637 skipping to change at line 637
} }
return end; return end;
} }
void MimeSession::reset_part_state() void MimeSession::reset_part_state()
{ {
state_flags = 0; state_flags = 0;
filename_state = CONT_DISP_FILENAME_PARAM_NAME; filename_state = CONT_DISP_FILENAME_PARAM_NAME;
delete[] partial_header; delete[] partial_header;
partial_header = nullptr;
partial_header_len = 0;
if (decode_state) if (decode_state)
{ {
decode_state->clear_decode_state(); decode_state->clear_decode_state();
decode_state->file_decomp_reset(); decode_state->file_decomp_reset();
} }
// Clear MIME's file data to prepare for next file // Clear MIME's file data to prepare for next file
filename.clear(); filename.clear();
file_counter++; file_counter++;
file_process_offset = 0; file_process_offset = 0;
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)