Skip to content

Commit 15b1432

Browse files
adisbladisglobin
authored andcommittedJan 11, 2018
1 parent c80dc05 commit 15b1432

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed
 

‎pkgs/development/libraries/libvorbis/default.nix

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, fetchurl, libogg, pkgconfig }:
1+
{ stdenv, fetchurl, libogg, pkgconfig, fetchpatch }:
22

33
stdenv.mkDerivation rec {
44
name = "libvorbis-1.3.5";
@@ -10,6 +10,23 @@ stdenv.mkDerivation rec {
1010

1111
outputs = [ "out" "dev" "doc" ];
1212

13+
patches = [
14+
(fetchpatch {
15+
url = "https://github.com/xiph/vorbis/commit/a79ec216cd119069c68b8f3542c6a425a74ab993.patch";
16+
sha256 = "0xhsa96n3dlh2l85bxpz4b9m78mfxfgi2ibhjp77110a0nvkjr6h";
17+
name = "CVE-2017-14633";
18+
})
19+
(fetchpatch {
20+
url = "https://github.com/xiph/vorbis/commit/c1c2831fc7306d5fbd7bc800324efd12b28d327f.patch";
21+
sha256 = "17lb86105im6fc0h0cx5sn94p004jsdbbs2vj1m9ll6z9yb4rxwc";
22+
name = "CVE-2017-14632";
23+
})
24+
(fetchpatch {
25+
url = "https://gitlab.xiph.org/xiph/vorbis/uploads/a68cf70fa10c8081a633f77b5c6576b7/0001-CVE-2017-14160-make-sure-we-don-t-overflow.patch";
26+
sha256 = "0v21p59cb3z77ch1v6q5dcrd733h91f3m8ifnd7kkkr8gzn17d5x";
27+
name = "CVE-2017-14160";
28+
})
29+
];
1330

1431
nativeBuildInputs = [ pkgconfig ];
1532
propagatedBuildInputs = [ libogg ];

0 commit comments

Comments
 (0)
Please sign in to comment.