Ludovic Rousseau wrote:
...
Another solution is to use strlcpy instead of strncpy. strlcpy has
been defined by OpenBSD as a safe replacement of strncpy. You can get
it from [1]. I use it in pcsc-lite
Some systems already provide it (OpenBSD, Darwin) so you need to add a
check in configure.in

+1

Cheers,
Nils
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to