wok-next diff id3lib/stuff/patches/60-id3lib-missing-nullpointer-check.patch @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/id3lib/stuff/patches/60-id3lib-missing-nullpointer-check.patch Fri Apr 27 12:51:30 2018 +0200 1.3 @@ -0,0 +1,12 @@ 1.4 +This patch adds a check for a null pointer 1.5 +--- a/src/header_tag.cpp 1.6 ++++ b/src/header_tag.cpp 1.7 +@@ -54,7 +54,7 @@ 1.8 + { 1.9 + size_t bytesUsed = ID3_TagHeader::SIZE; 1.10 + 1.11 +- if (_info->is_extended) 1.12 ++ if (_info && _info->is_extended) 1.13 + { 1.14 + bytesUsed += _info->extended_bytes; 1.15 + }