diff options
| author | 2016-01-26 21:07:54 +0000 | |
|---|---|---|
| committer | 2016-01-26 21:07:54 +0000 | |
| commit | 38bdfd734d3af2cad2681dd2e615cd0996ed2215 (patch) | |
| tree | 69d471e39379c5236f1d584d479fe928383214d9 /lib/libc/stdlib/posix_pty.c | |
| parent | Remove needless zeroing. Anonymously mapped memory is always zeroed. (diff) | |
| download | wireguard-openbsd-38bdfd734d3af2cad2681dd2e615cd0996ed2215.tar.xz wireguard-openbsd-38bdfd734d3af2cad2681dd2e615cd0996ed2215.zip | |
dpme_name and dpme_type are NUL-terminated in Apple code, so use
strlcpy() to fill them.
They are also supposed to be NUL-padded so zap previous contents
before copying in possibly shorter new values.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
