sepinf-inc / IPED

IPED Digital Forensic Tool. It is an open source software that can be used to process and analyze digital evidence, often seized at crime scenes by law enforcement or in a corporate investigation by private examiners.
Other
924 stars 217 forks source link

Do not overwrite the mediaType if new parsed type is null (#1947) #1948

Closed wladimirleite closed 10 months ago

wladimirleite commented 10 months ago

Fixes #1947.

I could not find where the parsed media type became only "application/". Not sure if it is even possible, but maybe a external (TIKA) parser.

wladimirleite commented 10 months ago

@lfcnassif, if you like, I can send you privately the 7z that caused this issue (~3GB).

lfcnassif commented 10 months ago

Yes, please!

wladimirleite commented 10 months ago

This ZIP with the overwritten JPG is enough to reproduce the issue: sample1947.zip