wok-next annotate id3lib/stuff/patches/60-id3lib-missing-nullpointer-check.patch @ rev 20789

gnupg: force rebuild
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 09:29:38 2018 +0000 (2018-06-09)
parents
children
rev   line source
al@20357 1 This patch adds a check for a null pointer
al@20357 2 --- a/src/header_tag.cpp
al@20357 3 +++ b/src/header_tag.cpp
al@20357 4 @@ -54,7 +54,7 @@
al@20357 5 {
al@20357 6 size_t bytesUsed = ID3_TagHeader::SIZE;
al@20357 7
al@20357 8 - if (_info->is_extended)
al@20357 9 + if (_info && _info->is_extended)
al@20357 10 {
al@20357 11 bytesUsed += _info->extended_bytes;
al@20357 12 }