Skip to content

Crash on java.lang.OutOfMemoryError #618

Open
@Han0nly

Description

@Han0nly

Recently, we found that two code snippet in metadta-extractor (2.18.0) can trigger java.lang.OutOfMemoryError errors, which will lead to local denial-of-service. Error handling needs to be added, otherwise the java thread will crash, and apps that rely on this library will malfunction.

  1. sampleDescriptions = new ArrayList<T>((int)numberOfEntries);
  2. entries = new ArrayList<Entry>((int)numberOfEntries);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions