James Carlson wrote: > Casper Dik writes: >> char *stpcpy(char *restrict s1, const char *restrict s2); >> char *stpncpy(char *restrict s1, const char *restrict s2, size_t n); >> wchar_t *wcpcpy(wchar_t restrict *ws1, const wchar_t *restrict ws2); >> wchar_t *wcpncpy(wchar_t restrict *ws1, const wchar_t *restrict ws2, >> size_t >> n); > > The lint maintainers be notified so that they can add stpcpy and > wcpcpy to their list of security-questionable functions warned about > via -errsecurity. (At least file an RFE.)
That RFE should be filed under compilers-tools/c/lint and refer to CR 4877995. Scott -- Scott Rotondo Principal Engineer, Solaris Security Technologies President, Trusted Computing Group Phone/FAX: +1 408 850 3655 (Internal x68278)