Skip to content
projects
/
aports
·
blob
master ·
refs
aports
community
id3lib
60-id3lib-missing-nullpointer-check.patch
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
12 lines · 273 B
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;
7
8
-
if (_info->is_extended)
9
+
if (_info && _info->is_extended)
10
{
11
bytesUsed += _info->extended_bytes;
12
}