zig/lib/std/os
Tom Maenan Read Cutting d0eef26687 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.
2022-12-12 15:10:59 -05:00
..
linux remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
plan9 plan9: more syscalls 2021-11-09 07:08:27 -05:00
uefi remove most conditional compilation based on stage1 2022-12-06 20:38:54 -07:00
windows std: fix compile error bitrot 2022-12-11 12:48:17 -07:00
darwin.zig macos: update Mach routines for accessing page info 2022-03-17 10:42:11 +01:00
linux.zig remove most conditional compilation based on stage1 2022-12-06 20:38:54 -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 2022-12-12 15:10:59 -05:00
uefi.zig Make invalidFmtError public and use in place of compileErrors for bad format strings (#13526) 2022-11-12 21:03:24 +02:00
wasi.zig std: fix WASI regressions 2022-12-06 12:15:05 -07:00
windows.zig std: fix compile error bitrot 2022-12-11 12:48:17 -07:00