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

cookutils: up (1071); python-alabaster, python-turbogears, python-webob: use pip; add python-crank, python-repoze.lru
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 06 17:36:07 2018 +0300 (2018-06-06)
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 }