summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-04-23 16:07:06 +0000
committerschwarze <schwarze@openbsd.org>2014-04-23 16:07:06 +0000
commit0b2f1307db21250b7099790c5dac4bfa2b206352 (patch)
tree2201737e7861a34a30b141d0dd9ceec3710c040b /lib/libssl/src
parentFix format string in DEBUG message (not compiled by default). (diff)
downloadwireguard-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