diff options
author | Mark H Weaver <mhw@netris.org> | 2014-10-24 03:39:34 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2014-10-26 02:55:38 -0400 |
commit | 1d1efa6c6a4911ac20e1e3c4fdf0ecb2afb6f54a (patch) | |
tree | 5436e00d23572a36b3650ce809aa12c8b9ac6ffd /gnu/packages/patches/pulseaudio-fix-mult-test.patch | |
parent | 16755848fc7f446ba4572d3c36c9b1d50410e927 (diff) | |
download | guix-1d1efa6c6a4911ac20e1e3c4fdf0ecb2afb6f54a.tar guix-1d1efa6c6a4911ac20e1e3c4fdf0ecb2afb6f54a.tar.gz |
gnu: pulseaudio: Fix CVE-2014-3970 and intermittent test failures.
* gnu/packages/patches/pulseaudio-CVE-2014-397.patch: New file.
* gnu/packages/patches/pulseaudio-fix-mult-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/pulseaudio.scm (pulseaudio): Add patches.
Diffstat (limited to 'gnu/packages/patches/pulseaudio-fix-mult-test.patch')
-rw-r--r-- | gnu/packages/patches/pulseaudio-fix-mult-test.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/pulseaudio-fix-mult-test.patch b/gnu/packages/patches/pulseaudio-fix-mult-test.patch new file mode 100644 index 0000000000..7b249645ad --- /dev/null +++ b/gnu/packages/patches/pulseaudio-fix-mult-test.patch @@ -0,0 +1,16 @@ +Avoid signed overflow during mult-s16-test which intermittently +failed. + +Patch by Mark H Weaver <mhw@netris.org>. + +--- pulseaudio-5.0/src/tests/mult-s16-test.c.orig 2014-01-23 13:57:55.000000000 -0500 ++++ pulseaudio-5.0/src/tests/mult-s16-test.c 2014-10-24 03:13:46.464661815 -0400 +@@ -55,7 +55,7 @@ + START_TEST (mult_s16_test) { + int16_t samples[SAMPLES]; + int32_t volumes[SAMPLES]; +- int32_t sum1 = 0, sum2 = 0; ++ uint32_t sum1 = 0, sum2 = 0; + int i; + + pa_random(samples, sizeof(samples)); |