moby/pkg/system
Sascha Grunert c7cd5d6726
Fix possible runtime panic in Lgetxattr
If `unix.Lgetxattr` returns an error, then `sz == -1` which will cause a
runtime panic if `errno == unix.ERANGE`.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
(cherry picked from commit 4138cd22ab)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-17 11:31:12 +01:00
..
args_windows.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
chtimes.go Add canonical import comment 2018-02-05 16:51:57 -05:00
chtimes_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
chtimes_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
chtimes_unix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
chtimes_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
chtimes_windows_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
exitcode.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filesys.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filesys_windows.go LCOW: Add SIDs to layer.vhd at creation 2019-03-21 13:12:17 -07:00
init.go Add canonical import comment 2018-02-05 16:51:57 -05:00
init_unix.go Windows: Experimental: Allow containerd for runtime 2019-03-12 18:41:55 -07:00
init_windows.go LCOW: (Experimental) Require RS5+ builds 2019-04-18 09:43:37 -07:00
lcow.go system: add back lcow validation function 2018-06-27 15:24:26 -07:00
lcow_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
lcow_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
lstat_unix.go Fix some go_vet issues 2018-12-19 23:57:06 +01:00
lstat_unix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
lstat_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
meminfo.go Add canonical import comment 2018-02-05 16:51:57 -05:00
meminfo_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
meminfo_unix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
meminfo_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
meminfo_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mknod.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mknod_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
path.go Fix typos in pkg 2018-02-10 19:43:13 +08:00
path_unix.go Windows: Go1.11: Use long path names in build context (TestBuildSymlinkBreakout) 2018-09-05 17:01:05 -07:00
path_windows.go Windows: Go1.11: Use long path names in build context (TestBuildSymlinkBreakout) 2018-09-05 17:01:05 -07:00
path_windows_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
process_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
process_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
rm.go pkg/system: return nil explicitly 2018-07-29 01:31:08 +03:00
rm_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
stat_darwin.go Add canonical import comment 2018-02-05 16:51:57 -05:00
stat_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
stat_linux.go cast Dev and Rdev of Stat_t to uint64 for mips 2020-01-13 09:25:13 +08:00
stat_openbsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
stat_solaris.go Add canonical import comment 2018-02-05 16:51:57 -05:00
stat_unix.go Fix some go_vet issues 2018-12-19 23:57:06 +01:00
stat_unix_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
stat_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
syscall_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
syscall_windows.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
syscall_windows_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
umask.go Add canonical import comment 2018-02-05 16:51:57 -05:00
umask_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
utimes_freebsd.go Add canonical import comment 2018-02-05 16:51:57 -05:00
utimes_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
utimes_unix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
utimes_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
xattrs_linux.go Fix possible runtime panic in Lgetxattr 2020-01-17 11:31:12 +01:00
xattrs_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00