Skip to content

Fix infinite loop and library name lookup in plugin XML parsing - #316

Open
ahcorde wants to merge 1 commit into
rollingfrom
ahcorde/rolling/fix_plugin_xml_library_parsing
Open

ahcorde wants to merge 1 commit into
rollingfrom
ahcorde/rolling/fix_plugin_xml_library_parsing

Conversation

@ahcorde

@ahcorde ahcorde commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Fixes two bugs when reading plugin XML files:

  • Hang on a <library> without a path. If a <library> element has no path attribute, or an empty one, the parser loops forever on that element. One bad plugin XML from any package was enough to hang every ClassLoader for that base class. These elements are now skipped.
  • Library not found when path contains directories. For path="some/dir/foo", the fallback that looks the library up by its file name never matched, because the leading / was kept. It now uses only the file name.

Claude Opus 5.5

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Nov 13, 2026
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

Successfully merging this pull request may close these issues.

1 participant