Hi,

The warnings below always appear while linking c files with
postgresql-libpq on SPARC64 platform. Arm64 and i386 platforms don't
display these errors.

/usr/local/lib/libpq.a(fe-auth.o): In function `PQencryptPasswordConn':
fe-auth.c:(.text+0x284): warning: strcpy() is almost always misused, please
use strlcpy()
/usr/local/lib/libpq.a(fe-connect.o): In function `internal_cancel':
fe-connect.c:(.text+0x30f0): warning: strcat() is almost always misused,
please use strlcat()
/usr/local/lib/libpq.a(fe-connect.o): In function `PQsetClientEncoding':
fe-connect.c:(.text+0xad4): warning: sprintf() is often misused, please use
snprintf()

Can the changes be effected at packages or does it have to be solved by
postgresql team?

Thanks and Regards,

Kihaguru

Reply via email to