From ac29cc338be46b86e61922f69d928645d71d5a9b Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 14 Oct 2014 22:21:38 +0200 Subject: testing/id3lib: new aport --- testing/id3lib/60-id3lib-missing-nullpointer-check.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/id3lib/60-id3lib-missing-nullpointer-check.patch (limited to 'testing/id3lib/60-id3lib-missing-nullpointer-check.patch') diff --git a/testing/id3lib/60-id3lib-missing-nullpointer-check.patch b/testing/id3lib/60-id3lib-missing-nullpointer-check.patch new file mode 100644 index 0000000000..d4ca5d292f --- /dev/null +++ b/testing/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