From 9b1499bd9c610e813b1ef685ccca74a37d1362ba Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sun, 8 Mar 2020 22:47:27 +0100 Subject: community/id3lib: move from testing --- community/id3lib/60-id3lib-missing-nullpointer-check.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 community/id3lib/60-id3lib-missing-nullpointer-check.patch (limited to 'community/id3lib/60-id3lib-missing-nullpointer-check.patch') diff --git a/community/id3lib/60-id3lib-missing-nullpointer-check.patch b/community/id3lib/60-id3lib-missing-nullpointer-check.patch new file mode 100644 index 0000000000..d4ca5d292f --- /dev/null +++ b/community/id3lib/60-id3lib-missing-nullpointer-check.patch @@ -0,0 +1,12 @@ +This patch adds a check for a null pointer +--- a/src/header_tag.cpp ++++ b/src/header_tag.cpp +@@ -54,7 +54,7 @@ + { + size_t bytesUsed = ID3_TagHeader::SIZE; + +- if (_info->is_extended) ++ if (_info && _info->is_extended) + { + bytesUsed += _info->extended_bytes; + } -- cgit v1.2.3