diff options
author | 2014-04-23 16:07:06 +0000 | |
---|---|---|
committer | 2014-04-23 16:07:06 +0000 | |
commit | 0b2f1307db21250b7099790c5dac4bfa2b206352 (patch) | |
tree | 2201737e7861a34a30b141d0dd9ceec3710c040b /lib/libssl/src | |
parent | Fix format string in DEBUG message (not compiled by default). (diff) | |
download | wireguard-openbsd-0b2f1307db21250b7099790c5dac4bfa2b206352.tar.xz wireguard-openbsd-0b2f1307db21250b7099790c5dac4bfa2b206352.zip |
Audit strlcpy(3)/strlcat(3) usage.
* Repair three instances of silent truncation, use asprintf(3).
* Change two instances of strlen(3)+malloc(3)+strlcpy(3)+strlcat(3)+...
to use asprintf(3) instead to make them less error prone.
* Cast the return value of four instances where the destination
buffer is known to be large enough to (void).
* Completely remove three useless instances of strlcpy(3)/strlcat(3).
* Mark two places in -Thtml with XXX that can cause information loss
and crashes but are not easy to fix, requiring design changes of
some internal interfaces.
* The file mandocdb.c remains to be audited.
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions