You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
--- utf16.c.old 2005-01-07 12:35:28.622883237 +0100 |
|
+++ utf16.c 2005-01-07 12:35:36.603673548 +0100 |
|
@@ -250,6 +250,8 @@ |
|
id3_ucs4_t *ucs4; |
|
|
|
end = *ptr + (length & ~1); |
|
+ if (end == *ptr) |
|
+ return 0; |
|
|
|
utf16 = malloc((length / 2 + 1) * sizeof(*utf16)); |
|
if (utf16 == 0)
|
|
|