blob: d4ca5d292f1bb97c232e39692b2ded8088e9fd73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
This patch adds a check for a null pointer
--- a/src/header_tag.cpp
+++ b/src/header_tag.cpp
@@ -54,7 +54,7 @@
{
size_t bytesUsed = ID3_TagHeader::SIZE;
- if (_info->is_extended)
+ if (_info && _info->is_extended)
{
bytesUsed += _info->extended_bytes;
}
|