Unverified Commit b0eddce0 authored by Fernando Rodrigues's avatar Fernando Rodrigues Committed by GitHub
Browse files

xen: patch with XSA-480 and XSA-481 (#500711)

parents 6fd329b2 d8ad1e5a
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -198,6 +198,18 @@ stdenv.mkDerivation (finalAttrs: {
      hash = "sha256-2o6RYyT4Nrg1le6BUOQ3AwedorCvxvKao2uMYWrUV1Y=";
    })

    # XSA #480
    (fetchpatch {
      url = "https://xenbits.xenproject.org/xsa/xsa480.patch";
      hash = "sha256-mHoY+Y8klwLYOo4LZCwYcNsB1BcBbSa1nQOn3NueDdI=";
    })

    # XSA #481
    (fetchpatch {
      url = "https://xenbits.xenproject.org/xsa/xsa481.patch";
      hash = "sha256-QpRXS4rFuML2TawH7yhUmg8U4C1ATt4xiLLs91duuO8=";
    })

    # patch `libxl` to search for `qemu-system-i386` properly. (Before 4.21)
    (fetchpatch {
      url = "https://github.com/xen-project/xen/commit/f6281291704aa356489f4bd927cc7348a920bd01.diff?full_index=1";