zig/lib/std/os
Tom Maenan Read Cutting b5222f86ee Add 0-length buffer checks to os.read & os.write
This helps prevent errors related to undefined pointers being passed
through to some OS apis when slices have 0 length.

Tests have also been added to catch these cases.
2023-01-09 15:04:10 -07:00
..
linux Fixes to linux/bpf/btf.zig 2023-01-09 13:55:53 -07:00
plan9 plan9: more syscalls 2021-11-09 07:08:27 -05:00
uefi change uefi packed structs to new integer backed syntax (#13173) 2022-10-30 15:08:32 -04:00
windows Merge pull request #13659 from ziglang/arm-win-cpu-features 2023-01-09 14:45:21 -07:00
darwin.zig macos: update Mach routines for accessing page info 2022-03-17 10:42:11 +01:00
linux.zig std.os.linux: Add setitimer and getitimer syscalls 2023-01-09 14:05:18 -07:00
plan9.zig remove 'builtin.stage2_arch', Sema is smart enough now 2022-08-07 16:07:08 -07:00
posix_spawn.zig std.c: fix incorrect return types 2022-10-13 13:21:19 +02:00
test.zig Add 0-length buffer checks to os.read & os.write 2023-01-09 15:04:10 -07:00
uefi.zig change uefi packed structs to new integer backed syntax (#13173) 2022-10-30 15:08:32 -04:00
wasi.zig std: WASI - update to latest snapshot preview 1 2022-10-03 22:48:57 -04:00
windows.zig std.os.windows.ReadLink: add missing alignment of local data buffer 2023-01-09 14:47:00 -07:00