Warning on OpenBSD warning: strcpy() is almost always misused, please use strlcpy()
Original Reporter info from Mantis: zamronypj @zamronypj
-
Reporter name: Zamrony P. Juhara
Original Reporter info from Mantis: zamronypj @zamronypj
- Reporter name: Zamrony P. Juhara
Description:
When compiling on OpenBSD, FPC gives warning
/usr/local/lib/fpc/3.2.0/units/x86_64-openbsd/rtl/system.o: In function `STRCOPY':
../inc/cgenstr.inc:35: warning: strcpy() is almost always misused, please use strlcpy()
Compilation and output executable works.
Mantis conversion info:
- Mantis ID: 38187
- OS: OpenBSD
- OS Build: 6.8
- Platform: x86_64
- Version: 3.2.0