diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-30 00:07:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-30 00:07:18 +0100 |
commit | 0e2a727aba684f1a44cc0402a3f77d242140681b (patch) | |
tree | ad462b91afc9d7f8d76e3c51331517fddd6b25c2 /dev-ml/core_unix/files/core_unix-0.16.0-musl.patch | |
parent | 5c4786a868bad6e3f46aecf32ad6c6dc5de98408 (diff) |
gentoo auto-resync : 30:05:2024 - 00:07:18
Diffstat (limited to 'dev-ml/core_unix/files/core_unix-0.16.0-musl.patch')
-rw-r--r-- | dev-ml/core_unix/files/core_unix-0.16.0-musl.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ml/core_unix/files/core_unix-0.16.0-musl.patch b/dev-ml/core_unix/files/core_unix-0.16.0-musl.patch index e37ad2f8454a..8e26f9706317 100644 --- a/dev-ml/core_unix/files/core_unix-0.16.0-musl.patch +++ b/dev-ml/core_unix/files/core_unix-0.16.0-musl.patch @@ -9,3 +9,15 @@ ssize_t ret; if (total_len > THREAD_IO_CUTOFF || contains_mmapped(v_iovecs, count)) { Begin_roots1(v_iovecs); +--- a/linux_ext/src/linux_ext_stubs.c 2024-05-29 19:59:43.955479960 +0200 ++++ b/linux_ext/src/linux_ext_stubs.c 2024-05-29 20:00:26.661018190 +0200 +@@ -243,7 +243,8 @@ + int count = Int_val(v_count); + ssize_t ret; + struct iovec *iovecs = caml_stat_alloc(sizeof(struct iovec) * count); +- struct msghdr msghdr = { NULL, 0, NULL, 0, NULL, 0, 0 }; ++ struct msghdr msghdr; ++ memset(&msghdr, 0, sizeof(msghdr)); + msghdr.msg_iov = iovecs; + msghdr.msg_iovlen = count; + for (--count; count >= 0; --count) { |