moby--moby/pkg/parsers
Kir Kolyshkin 8a5c13155e all: use unix.ByteSliceToString for utsname fields
This also fixes the GetOperatingSystem function in
pkg/parsers/operatingsystem which mistakenly truncated utsname.Machine
to the index of \0 in utsname.Sysname.

Fixes: 7aeb3efcb4
Cc: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-05-18 17:13:20 -07:00
..
kernel all: use unix.ByteSliceToString for utsname fields 2022-05-18 17:13:20 -07:00
operatingsystem all: use unix.ByteSliceToString for utsname fields 2022-05-18 17:13:20 -07:00
parsers.go Fix denial of service with large numbers in cpuset-cpus and cpuset-mems 2018-10-05 15:09:02 +02:00
parsers_test.go Fix denial of service with large numbers in cpuset-cpus and cpuset-mems 2018-10-05 15:09:02 +02:00