libid3tag-0.15.1b-fix-CVE-2008-2109.patch
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:0k
源码类别:
midi
开发平台:
Unix_Linux
- *** field.c 2003-04-19 09:14:33.000000000 +0900
- --- field-patched.c 2008-01-13 16:08:22.000000000 +0900
- ***************
- *** 291,297 ****
- end = *ptr + length;
- ! while (end - *ptr > 0) {
- ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0);
- if (ucs4 == 0)
- goto fail;
- --- 291,297 ----
- end = *ptr + length;
- ! while (end - *ptr > 0 && **ptr != ' ') {
- ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0);
- if (ucs4 == 0)
- goto fail;