internal/rosa/package/libseccomp: 2.6.0 to 2.6.1
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m55s
Test / ShareFS (push) Successful in 3m59s
Test / Hakurei (push) Successful in 4m9s
Test / Sandbox (race detector) (push) Successful in 5m57s
Test / Hakurei (race detector) (push) Successful in 7m9s
Test / Flake checks (push) Successful in 1m36s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-02 22:30:13 +09:00
parent d2f322e911
commit 8c853c3eb6
2 changed files with 2 additions and 16 deletions
@@ -3,15 +3,14 @@ package libseccomp {
website = "https://github.com/seccomp/libseccomp"; website = "https://github.com/seccomp/libseccomp";
anitya = 13823; anitya = 13823;
version# = "2.6.0"; version# = "2.6.1";
source = remoteGitHubRelease { source = remoteGitHubRelease {
suffix = "seccomp/libseccomp"; suffix = "seccomp/libseccomp";
tag = "v"+version; tag = "v"+version;
name = "libseccomp-"+version+".tar.gz"; name = "libseccomp-"+version+".tar.gz";
checksum = "mMu-iR71guPjFbb31u-YexBaanKE_nYPjPux-vuBiPfS_0kbwJdfCGlkofaUm-EY"; checksum = "YiiUqaQA9EUDSeC3CifYJLJHT9DwkqQtW21ek0H3HzEG7_I9Yn5-pLt5ybQqpEEt";
compress = gzip; compress = gzip;
}; };
patches = [ "fix-export-oob-read.patch" ];
bin = [ "bash" ]; bin = [ "bash" ];
exec = make {}; exec = make {};
@@ -1,13 +0,0 @@
diff --git a/src/api.c b/src/api.c
index adccef3..65a277a 100644
--- a/src/api.c
+++ b/src/api.c
@@ -786,7 +786,7 @@ API int seccomp_export_bpf_mem(const scmp_filter_ctx ctx, void *buf,
if (BPF_PGM_SIZE(program) > *len)
rc = _rc_filter(-ERANGE);
else
- memcpy(buf, program->blks, *len);
+ memcpy(buf, program->blks, BPF_PGM_SIZE(program));
}
*len = BPF_PGM_SIZE(program);