mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #6860] [MERGED] Read past empty elements #11167
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/6860
Author: @cvium
Created: 11/17/2021
Status: ✅ Merged
Merged: 11/17/2021
Merged by: @crobibero
Base:
master← Head:fix_xml_endless_loops📝 Commits (1)
61b75c8Read past empty elements📊 Changes
2 files changed (+30 additions, -6 deletions)
View changed files
📝
MediaBrowser.Providers/Plugins/MusicBrainz/MusicBrainzAlbumProvider.cs(+23 -5)📝
MediaBrowser.XbmcMetadata/Parsers/BaseNfoParser.cs(+7 -1)📄 Description
Changes
ReadSubtree does not advance the reader, so when the element is empty it will keep reading the empty element forever. I have added some extra IsEmptyElement checks
Issues
Fixes https://github.com/jellyfin/jellyfin/issues/6858
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.