libid3tag-0.15.1b-fix-CVE-2008-2109.patch
Upload User: kjfoods
Upload Date: 2020-07-06
Package Size: 29949k
Code Size: 0k
Category:

midi program

Development Platform:

Unix_Linux

  1. *** field.c 2003-04-19 09:14:33.000000000 +0900
  2. --- field-patched.c 2008-01-13 16:08:22.000000000 +0900
  3. ***************
  4. *** 291,297 ****
  5.         end = *ptr + length;
  6. !       while (end - *ptr > 0) {
  7.    ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0);
  8.    if (ucs4 == 0)
  9.      goto fail;
  10. --- 291,297 ----
  11.         end = *ptr + length;
  12. !       while (end - *ptr > 0 && **ptr != '') {
  13.    ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0);
  14.    if (ucs4 == 0)
  15.      goto fail;