Aims to fix #35371.
Tested with build/stage3/bin/zig build test-std -Dno-matrix.
Aims to fix https://codeberg.org/ziglang/zig/issues/35371.
Tested with `build/stage3/bin/zig build test-std -Dno-matrix`.
std.Io.net.HostName.zig: make memcpy bounded #35446
usebeforefree/zig:hostname-out-of-bounds into master
Aims to fix #35371.
Tested with build/stage3/bin/zig build test-std -Dno-matrix.
so you're just going to truncate the line? no discussion of this in the writeup? can you demonstrate that you're thinking through this?
Yeah truncating it doesn't make sense, I was (wrongfully) referring to the musl implementation. The logic there is not to truncate, but skip entirely if the line is longer than max_len. So from that information, my suggestion would just be adding a line that checks the len before the memcpy:
if(rest.len>max_len)continue;
83965336fd
76f3434f16
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?