HomeFreeBSD

mksnap_ffs: fix running unded chroot

Description

mksnap_ffs: fix running unded chroot

Fix "run-under-chroot" workaround by replacing strlcpy(2) with
memmove(2) since strings overlap.

Reviewed by: arrowd
Differential Revision: https://reviews.freebsd.org/D52670

(cherry picked from commit 60be0d71daab4247dc61c323777b0c593eb76975)

Details

Provenance
sobomaxAuthored on Sep 23 2025, 4:24 PM
Reviewer
arrowd
Differential Revision
D52670: mksnap_ffs: fix running under chroot
Parents
rG0a45aa9e954a: openssh: Handle localtime_r() failure by return "UNKNOWN-TIME"
Branches
Unknown
Tags
Unknown