diff options
Diffstat (limited to 'media-libs/id3lib/files/id3lib-3.8.3-missing_nullpointer_check.patch')
-rw-r--r-- | media-libs/id3lib/files/id3lib-3.8.3-missing_nullpointer_check.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/media-libs/id3lib/files/id3lib-3.8.3-missing_nullpointer_check.patch b/media-libs/id3lib/files/id3lib-3.8.3-missing_nullpointer_check.patch new file mode 100644 index 000000000000..3b9437967842 --- /dev/null +++ b/media-libs/id3lib/files/id3lib-3.8.3-missing_nullpointer_check.patch @@ -0,0 +1,11 @@ +--- id3lib-3.8.3/src/header_tag.cpp.orig 2003-03-02 01:23:00.000000000 +0100 ++++ id3lib-3.8.3/src/header_tag.cpp 2009-07-13 22:54:21.000000000 +0200 +@@ -54,7 +54,7 @@ + { + size_t bytesUsed = ID3_TagHeader::SIZE; + +- if (_info->is_extended) ++ if (_info && _info->is_extended) + { + bytesUsed += _info->extended_bytes; + } |