Commit Graph

3 Commits (08fb4d790e469a71e2c4e154443ad387194973d7)

Author SHA1 Message Date
Jason Ish 9375e8fb3c util-base64: strict mode - all characters must be valid
Introduce a strict mode to base64 decode. If strict,
the function will fail when invalid input data is seen.
If not strict, what has been decoded will be returned.

This is in support of adding a Snort compatible base64_decode
rule option that uses whatever data can be decoded as a length
of data to decode is optional.
9 years ago
Victor Julien 106bbc78e1 mime: refactor buffer use
Turn all buffers into uint8_t (from char) and no longer use the
string functions like strncpy/strncasecmp on them.

Store url and field names as lowercase, and also search/compare
them as lowercase. This allows us to use SCMemcmp.
10 years ago
David Abarbanel c2dc686742 SMTP MIME Email Message decoder 10 years ago