Skip to content

zip scanner should truncate filenames to 64 characters #489

Description

@nhughes

Bulk Extractor can create an unrecoverable failure when processing files with long file names. When a file is encountered within a zip file where the filename is near the maximum length permissible for the machine's file system, Bulk Extractor fails when it processes the file by prepending information to the file name. As a result, a fatal write error is thrown when the operating system rejects the file name.

alerts.txt

To resolve this error, the length of the filename should be checked prior to modifying the file name. If adding content to the filename will expand it beyond the filesystem's limit, figure out a different way to handle the file - either by reducing the length of the file name before adding to it or not renaming the file.

Although the attachments are from Bulk Extractor Windows, the problem has been validated on the current release in Linux.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions