aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/libseccomp/fix-export-oob-read.patch
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-02 22:30:13 +0900
committerOphestra <cat@gensokyo.uk>2026-07-02 22:30:13 +0900
commit8c853c3eb6a281853daf65679192b08a0ff21fb3 (patch)
tree6a17b3941f1c15bb5b18e8bd4653c646d31884cf /internal/rosa/package/libseccomp/fix-export-oob-read.patch
parentd2f322e911001ec3a17aef57c01036859b507d80 (diff)
internal/rosa/package/libseccomp: 2.6.0 to 2.6.1
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/libseccomp/fix-export-oob-read.patch')
-rw-r--r--internal/rosa/package/libseccomp/fix-export-oob-read.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/internal/rosa/package/libseccomp/fix-export-oob-read.patch b/internal/rosa/package/libseccomp/fix-export-oob-read.patch
deleted file mode 100644
index c399dcc5..00000000
--- a/internal/rosa/package/libseccomp/fix-export-oob-read.patch
+++ /dev/null
@@ -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);
-