Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 775146 Details for
Bug 626698
<media-libs/libid3tag-0.16.2: multiple vulnerabilites
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix patch
ucs4-null-pointer-dereference.patch (text/plain), 699 bytes, created by
kleph
on 2022-04-28 10:27:14 UTC
(
hide
)
Description:
fix patch
Filename:
MIME Type:
Creator:
kleph
Created:
2022-04-28 10:27:14 UTC
Size:
699 bytes
patch
obsolete
>diff --git a/compat.c b/compat.c >index 19f1d13..48d486a 100644 >--- a/compat.c >+++ b/compat.c >@@ -439,6 +439,9 @@ int id3_compat_fixup(struct id3_tag *tag) > encoding = id3_parse_uint(&data, 1); > string = id3_parse_string(&data, end - data, encoding, 0); > >+ if (!string) >+ continue; >+ > if (id3_ucs4_length(string) < 4) { > free(string); > continue; >diff --git a/ucs4.c b/ucs4.c >index f55f159..9d2e02b 100644 >--- a/ucs4.c >+++ b/ucs4.c >@@ -37,6 +37,9 @@ id3_ucs4_t const id3_ucs4_empty[] = { 0 }; > */ > id3_length_t id3_ucs4_length(id3_ucs4_t const *ucs4) > { >+ if (!ucs4) >+ return 0; >+ > id3_ucs4_t const *ptr = ucs4; > > while (*ptr) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 626698
:
762005
| 775146