summaryrefslogtreecommitdiffstats
path: root/lib/libedit/read.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-01-31 17:19:26 +0000
committerkrw <krw@openbsd.org>2016-01-31 17:19:26 +0000
commit9225bef5a28ec686d6c9cd7502b0c47fc7aa1ae7 (patch)
tree3df35d9f3488b5c358fa8c0e7a37745804e2792e /lib/libedit/read.c
parenttrivial partial sync to NetBSD, no functional change: (diff)
downloadwireguard-openbsd-9225bef5a28ec686d6c9cd7502b0c47fc7aa1ae7.tar.xz
wireguard-openbsd-9225bef5a28ec686d6c9cd7502b0c47fc7aa1ae7.zip
Don't use add_data_to_map() when reading from disk, since it resets some
of the dpme_ fields, overwriting data from disk. Add some paranoia checks for map limits when reading from disk.
Diffstat (limited to 'lib/libedit/read.c')
0 files changed, 0 insertions, 0 deletions