Merge in SNORT/snort3 from ~KATHARVE/snort3:mime_file_data to master
Squashed commit of the following:
commit
a71fc1cfe61fb6cbaa644c2dd238ff5641d63aa4
Author: Katura Harvey <katharve@cisco.com>
Date: Tue Feb 15 14:45:15 2022 -0500
mime: stop setting the file_data buffer for raw non-file MIME parts
* in the body which seems more reasonable. */
}
- // FIXIT-L why is this being set? we don't search file data until
- // we set it again below after decoding. can it be deleted?
- if ( !is_http && decode_conf && (!decode_conf->is_ignore_data()))
- set_file_data(start, (end - start));
-
if (data_state == STATE_DATA_HEADER)
{
start = process_mime_header(p, start, end);