Hi,

The end of lib/libc/string/wcscpy.3 reads:

        CAVEATS 
                Using the functions wcscpy() and wcsncpy() is very error-prone 
with
                respect to buffer overflows; see the EXAMPLES section in 
strcpy(3) for 
                correct usage. Using wcslcpy(3) is a better choice in most 
cases.

But lib/libc/string/strcpy.3 has no EXAMPLES section.

Seen on OpenBSD 6.0 AMD64 (installed from the CD media), still present in CVS.

Cheers,
Scott Cheloha

Reply via email to