Use BUF_strlcpy() instead of strcpy().
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Dec 2003 14:40:17 +0000 (14:40 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 27 Dec 2003 14:40:17 +0000 (14:40 +0000)
commitd420ac2c7d4ba9d99ff2c257a3ad71ecc6d876e2
tree84414c7d794c6286588d2042f060036378311348
parentb79aa47a0c8478bea62fc2bb55f99e0be172da3d
Use BUF_strlcpy() instead of strcpy().
Use BUF_strlcat() instead of strcat().
Use BIO_snprintf() instead of sprintf().
In some cases, keep better track of buffer lengths.
This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
43 files changed:
apps/apps.c
apps/ca.c
apps/dgst.c
apps/enc.c
apps/engine.c
apps/pkcs12.c
apps/req.c
apps/s_socket.c
apps/s_time.c
apps/x509.c
crypto/asn1/a_gentm.c
crypto/asn1/a_mbstr.c
crypto/asn1/a_time.c
crypto/asn1/a_utctm.c
crypto/asn1/asn1_lib.c
crypto/asn1/asn1_par.c
crypto/asn1/t_pkey.c
crypto/asn1/x_long.c
crypto/bio/b_dump.c
crypto/bio/b_sock.c
crypto/bio/bio_cb.c
crypto/bio/bss_conn.c
crypto/bio/bss_file.c
crypto/bn/bn_lib.c
crypto/bn/bn_print.c
crypto/conf/conf_def.c
crypto/conf/conf_mod.c
crypto/cversion.c
crypto/des/ecb_enc.c
crypto/dso/dso_lib.c
crypto/engine/eng_ctrl.c
crypto/err/err.c
crypto/evp/evp_pbe.c
crypto/evp/evp_pkey.c
crypto/mem_dbg.c
crypto/objects/obj_dat.c
crypto/pem/pem_lib.c
crypto/rand/rand_egd.c
crypto/ui/ui_lib.c
crypto/x509/by_dir.c
crypto/x509/x509_txt.c
crypto/x509v3/v3_alt.c
crypto/x509v3/v3_info.c