diff options
author | 2016-01-31 17:19:26 +0000 | |
---|---|---|
committer | 2016-01-31 17:19:26 +0000 | |
commit | 9225bef5a28ec686d6c9cd7502b0c47fc7aa1ae7 (patch) | |
tree | 3df35d9f3488b5c358fa8c0e7a37745804e2792e /lib/libedit/read.c | |
parent | trivial partial sync to NetBSD, no functional change: (diff) | |
download | wireguard-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