wok-next view id3lib/stuff/patches/60-id3lib-missing-nullpointer-check.patch @ rev 20789

gnupg: force rebuild
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 09:29:38 2018 +0000 (2018-06-09)
parents
children
line source
1 This patch adds a check for a null pointer
2 --- a/src/header_tag.cpp
3 +++ b/src/header_tag.cpp
4 @@ -54,7 +54,7 @@
5 {
6 size_t bytesUsed = ID3_TagHeader::SIZE;
8 - if (_info->is_extended)
9 + if (_info && _info->is_extended)
10 {
11 bytesUsed += _info->extended_bytes;
12 }