archrelease: copy trunk to extra-x86_64
[arch-packages.git] / id3lib / trunk / 60-id3lib-missing-nullpointer-check.patch
blobd4ca5d292f1bb97c232e39692b2ded8088e9fd73
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 @@
6 size_t bytesUsed = ID3_TagHeader::SIZE;
8 - if (_info->is_extended)
9 + if (_info && _info->is_extended)
11 bytesUsed += _info->extended_bytes;