Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 626698
Collapse All | Expand All

(-)a/compat.c (+3 lines)
Lines 439-444 int id3_compat_fixup(struct id3_tag *tag) Link Here
439
    encoding = id3_parse_uint(&data, 1);
439
    encoding = id3_parse_uint(&data, 1);
440
    string   = id3_parse_string(&data, end - data, encoding, 0);
440
    string   = id3_parse_string(&data, end - data, encoding, 0);
441
441
442
       if (!string)
443
               continue;
444
442
    if (id3_ucs4_length(string) < 4) {
445
    if (id3_ucs4_length(string) < 4) {
443
      free(string);
446
      free(string);
444
      continue;
447
      continue;
(-)a/ucs4.c (+3 lines)
Lines 37-42 id3_ucs4_t const id3_ucs4_empty[] = { 0 }; Link Here
37
 */
37
 */
38
id3_length_t id3_ucs4_length(id3_ucs4_t const *ucs4)
38
id3_length_t id3_ucs4_length(id3_ucs4_t const *ucs4)
39
{
39
{
40
       if (!ucs4)
41
               return 0;
42
40
  id3_ucs4_t const *ptr = ucs4;
43
  id3_ucs4_t const *ptr = ucs4;
41
44
42
  while (*ptr)
45
  while (*ptr)

Return to bug 626698