Files
containerd/pkg
Paulo Oliveira 85b5418ef5 fix(oci): handle absolute symlinks in rootfs user lookup
Go 1.24 introduced stricter checks for os.DirFS (via os.Root), which causes failures when /etc/passwd or /etc/group are absolute symlinks pointing outside the mount root (common in NixOS).

This patch introduces a helper that detects absolute symlinks and resolves them relative to the rootfs before opening, preventing the 'path escapes from parent' error.

Fixes #12683

Signed-off-by: Paulo Oliveira <paulo.hco47@gmail.com>
2026-01-08 08:44:30 -03:00
..
2023-02-10 10:23:59 -07:00
2024-08-26 23:35:24 -07:00
2025-04-23 18:03:29 -07:00
2024-12-23 23:14:49 -07:00
2024-01-25 22:18:45 -08:00
2024-10-26 14:18:53 +02:00
2023-09-22 07:53:23 -07:00
2024-01-25 22:18:45 -08:00
2024-12-23 23:14:49 -07:00
2025-08-12 14:53:29 -04:00
2024-05-02 11:03:00 -07:00