strncpy(d, s, strlen(s)) is a special kind of stupid. even when it's right,
authortedu <tedu@openbsd.org>
Wed, 16 Apr 2014 01:43:06 +0000 (01:43 +0000)
committertedu <tedu@openbsd.org>
Wed, 16 Apr 2014 01:43:06 +0000 (01:43 +0000)
commit935dc21f5330afdf335a716cca61e24e8aeb1a51
tree06e759e0106c1d9a938ce3eb11d16358248211ed
parent0194f897d0aa77c030ace1ad81feef57fb556571
strncpy(d, s, strlen(s)) is a special kind of stupid. even when it's right,
it looks wrong. replace with auditable code and eliminate many strlen calls
to improve efficiency. (wait, did somebody say FASTER?) ok beck
lib/libssl/d1_srvr.c
lib/libssl/s3_srvr.c
lib/libssl/src/ssl/d1_srvr.c
lib/libssl/src/ssl/s3_srvr.c