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

updated cyrus-imapd (2.4.17 -> 3.0.12)
author Hans-G?nter Theisgen
date Thu Dec 05 16:28:27 2019 +0100 (2019-12-05)
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 }