[Bug 292528] strlcpy truncates result

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 Jan 2026 08:39:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292528

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
             Status|New                         |Closed
                 CC|                            |vvd@FreeBSD.org

--- Comment #3 from Vladimir Druzenko <vvd@FreeBSD.org> ---
strlcpy doesn't work with overlapping regions.
strlcpy(3):
> If the src and dst strings overlap, the behavior is undefined.

-- 
You are receiving this mail because:
You are the assignee for the bug.