Merge pull request #280757 from risicle/ris-python-uamqp-CVE-2024-21646

python3Packages.uamqp: add patch for CVE-2024-21646

authored by Thomas Gerbet and committed by GitHub 125cefd4 642317d0

+8
+8
pkgs/development/python-modules/uamqp/default.nix
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchFromGitHub 5 , cython 6 , certifi 7 , CFNetwork ··· 29 patches = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ 30 ./darwin-azure-c-shared-utility-corefoundation.patch 31 ] ++ [ 32 # Fix incompatible function pointer conversion error with clang 16. 33 ./clang-fix-incompatible-function-pointer-conversion.patch 34 ];
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchFromGitHub 5 + , fetchpatch 6 , cython 7 , certifi 8 , CFNetwork ··· 30 patches = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ 31 ./darwin-azure-c-shared-utility-corefoundation.patch 32 ] ++ [ 33 + (fetchpatch { 34 + name = "CVE-2024-21646.patch"; 35 + url = "https://github.com/Azure/azure-uamqp-c/commit/12ddb3a31a5a97f55b06fa5d74c59a1d84ad78fe.patch"; 36 + stripLen = 1; 37 + extraPrefix = "src/vendor/azure-uamqp-c/"; 38 + hash = "sha256-9o3TNKFeJvZRZeS6qo2Zl+JVFrrqAGYWDQbusz4Ou+g="; 39 + }) 40 # Fix incompatible function pointer conversion error with clang 16. 41 ./clang-fix-incompatible-function-pointer-conversion.patch 42 ];