repo.or.cz
/
arch-packages.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
archrelease: copy trunk to extra-x86_64
[arch-packages.git]
/
id3lib
/
trunk
/
60-id3lib-missing-nullpointer-check.patch
blob
d4ca5d292f1bb97c232e39692b2ded8088e9fd73
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
}