wok-next view 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 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 }