spandsp: backport additional memory safety fix

This one caused a test failure on x86_64-unknown-linux-musl.

Closes: https://github.com/NixOS/nixpkgs/issues/458398
This commit is contained in:
Alyssa Ross
2025-11-06 18:47:26 +01:00
parent 3975e225fc
commit 954c7a17bb
@@ -13,8 +13,11 @@
patches = [
(fetchpatch {
url = "https://github.com/freeswitch/spandsp/commit/f7b96b08db148763039cf3459d0e00da9636eb92.patch";
includes = [ "spandsp-sim/g1050.c" ];
hash = "sha256-TwMhWJXQG/UaWddWgice0klp1uATyHMiE6DcsCebXYQ=";
includes = [
"spandsp-sim/g1050.c"
"spandsp-sim/test_utils.c"
];
hash = "sha256-2MmVgyMUK0Zn+mL7IX57Y7brYpgmt4GVlis5/NstuNM=";
})
(fetchpatch {
url = "https://github.com/freeswitch/spandsp/commit/f47bcdc301fbddad44e918939eed1b361882f740.patch";