repo.or.cz
/
dragora.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Do not disable KMS by default in order to make use of the direct render capabilities
[dragora.git]
/
patches
/
libid3tag
/
libid3tag-0.15.1b-id3v2-endless-loop.patch
blob
c4557f133bce75cd815e20e9c315e6035eff4049
1
--- utf16.c.old 2005-01-07 12:35:28.622883237 +0100
2
+++ utf16.c 2005-01-07 12:35:36.603673548 +0100
3
@@ -250,6 +250,8 @@
4
id3_ucs4_t *ucs4;
5
6
end = *ptr + (length & ~1);
7
+ if (end == *ptr)
8
+ return 0;
9
10
utf16 = malloc((length / 2 + 1) * sizeof(*utf16));
11
if (utf16 == 0)