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

Up libproxy (0.4.15) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 24 23:28:51 2017 +0100 (2017-11-24)
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 }