diff options
author | Eric Hameleers <alien@slackware.com> | 2017-09-11 23:04:42 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-09-11 23:04:42 +0200 |
commit | b34d35ccdc6282b4584693786980c8d6ed6708f8 (patch) | |
tree | 4a7f39fbd217700cfdf20977b7c97124c9a95b78 /deps/id3lib/patches/id3lib.nullpointer_check.patch | |
parent | fce2e14230d0f3a684386aa45482e854faf8e8df (diff) | |
download | ktown-b34d35ccdc6282b4584693786980c8d6ed6708f8.tar.gz ktown-b34d35ccdc6282b4584693786980c8d6ed6708f8.tar.xz |
Updated deps for KDE 5_17.09
Diffstat (limited to 'deps/id3lib/patches/id3lib.nullpointer_check.patch')
-rw-r--r-- | deps/id3lib/patches/id3lib.nullpointer_check.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/id3lib/patches/id3lib.nullpointer_check.patch b/deps/id3lib/patches/id3lib.nullpointer_check.patch new file mode 100644 index 0000000..d4ca5d2 --- /dev/null +++ b/deps/id3lib/patches/id3lib.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; + } |