diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-26 14:05:01 +0100 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-02-09 09:35:43 +0530 |
| commit | 083add805e1c724b3e0a6e4ed2b127ed6b240a07 (patch) | |
| tree | 06267b3b6d8b856f2a8d96022618c67abdcf35b8 /meta-multimedia | |
| parent | e37bff308bcfbaea6777ee33e3a29dcb0b190249 (diff) | |
| download | meta-openembedded-083add805e1c724b3e0a6e4ed2b127ed6b240a07.tar.gz | |
sox: patch CVE-2017-15642
Details: https://nvd.nist.gov/vuln/detail/CVE-2017-15642
Pick the patch that was identified by Debian[1] as the solution.
[1]: https://security-tracker.debian.org/tracker/CVE-2017-15642
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-multimedia')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/sox/sox/CVE-2017-15642.patch | 35 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb | 1 |
2 files changed, 36 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/sox/sox/CVE-2017-15642.patch b/meta-multimedia/recipes-multimedia/sox/sox/CVE-2017-15642.patch new file mode 100644 index 0000000000..c505919edf --- /dev/null +++ b/meta-multimedia/recipes-multimedia/sox/sox/CVE-2017-15642.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From eb9b33dd01ae7b3cf50894e7d5044fc2db183529 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mans Rullgard <mans@mansr.com> | ||
| 3 | Date: Mon, 20 Nov 2017 11:03:15 +0000 | ||
| 4 | Subject: [PATCH] aiff: fix crash on empty comment chunk (CVE-2017-15642) | ||
| 5 | |||
| 6 | This fixes a use after free and double free if an empty comment | ||
| 7 | chunk follows a non-empty one. | ||
| 8 | |||
| 9 | CVE: CVE-2017-15642 | ||
| 10 | Upstream-Status: Backport [https://github.com/mansr/sox/commit/0be259eaa9ce3f3fa587a3ef0cf2c0b9c73167a2] | ||
| 11 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 12 | --- | ||
| 13 | src/aiff.c | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/src/aiff.c b/src/aiff.c | ||
| 17 | index 240d2e1..11ddb54 100644 | ||
| 18 | --- a/src/aiff.c | ||
| 19 | +++ b/src/aiff.c | ||
| 20 | @@ -62,7 +62,6 @@ int lsx_aiffstartread(sox_format_t * ft) | ||
| 21 | size_t ssndsize = 0; | ||
| 22 | char *annotation; | ||
| 23 | char *author; | ||
| 24 | - char *comment = NULL; | ||
| 25 | char *copyright; | ||
| 26 | char *nametext; | ||
| 27 | |||
| 28 | @@ -270,6 +269,7 @@ int lsx_aiffstartread(sox_format_t * ft) | ||
| 29 | free(annotation); | ||
| 30 | } | ||
| 31 | else if (strncmp(buf, "COMT", (size_t)4) == 0) { | ||
| 32 | + char *comment = NULL; | ||
| 33 | rc = commentChunk(&comment, "Comment:", ft); | ||
| 34 | if (rc) { | ||
| 35 | /* Fail already called in function */ | ||
diff --git a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb index 96d0543520..d49ac822b4 100644 --- a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb +++ b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb | |||
| @@ -36,6 +36,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \ | |||
| 36 | file://CVE-2017-15370.patch \ | 36 | file://CVE-2017-15370.patch \ |
| 37 | file://CVE-2017-15371.patch \ | 37 | file://CVE-2017-15371.patch \ |
| 38 | file://CVE-2017-15372.patch \ | 38 | file://CVE-2017-15372.patch \ |
| 39 | file://CVE-2017-15642.patch \ | ||
| 39 | " | 40 | " |
| 40 | SRC_URI[md5sum] = "d04fba2d9245e661f245de0577f48a33" | 41 | SRC_URI[md5sum] = "d04fba2d9245e661f245de0577f48a33" |
| 41 | SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c" | 42 | SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c" |
