Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mmahut authored and FRidh committed Jun 18, 2019
1 parent 58cbb1b commit ad2aa38
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions pkgs/os-specific/linux/bluez/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, dbus, glib, alsaLib,
python3, readline, udev, libical, systemd,
python3, readline, udev, libical, systemd, fetchpatch,
enableWiimote ? false, enableMidi ? false, enableSixaxis ? false }:

stdenv.mkDerivation rec {
Expand All @@ -23,7 +23,19 @@ stdenv.mkDerivation rec {

outputs = [ "out" "dev" "test" ];

patches = [ ./bluez-5.37-obexd_without_systemd-1.patch ];
patches = [
./bluez-5.37-obexd_without_systemd-1.patch
(fetchpatch {
url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=1880b299086659844889cdaf687133aca5eaf102";
name = "CVE-2018-10910-1.patch";
sha256 = "17spsxza27gif8jpxk7360ynvwii1llfdfwg35rwywjjmvww0qj4";
})
(fetchpatch {
url = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/patch/?id=9213ff7642a33aa481e3c61989ad60f7985b9984";
name = "CVE-2018-10910-2.patch";
sha256 = "0j7klbhym64yhn86dbsmybqmwx47bviyyhx931izl1p29z2mg8hn";
})
];

postConfigure = ''
substituteInPlace tools/hid2hci.rules \
Expand Down

0 comments on commit ad2aa38

Please sign in to comment.