Skip to content

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

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to 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