Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on java.lang.OutOfMemoryError #618

Open
Han0nly opened this issue Jul 20, 2023 · 0 comments
Open

Crash on java.lang.OutOfMemoryError #618

Han0nly opened this issue Jul 20, 2023 · 0 comments

Comments

@Han0nly
Copy link

Han0nly commented Jul 20, 2023

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant