Skip to content

[crashtracker] Limit size of files in the crashinfo #564

@danielsn

Description

@danielsn
          Really unrelated to this PR, but I noticed that `CrashInfo::add_file` seems to read the entire file to memory before trying to do anything with its contents.

Perhaps it may be worth adding a hard limit there, in case we get fed the wrong thing? (Insert crowdstrike broken file joke/reference?)

Originally posted by @ivoanjo in #551 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions