diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-12-10 23:50:03 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-12-10 23:50:03 +0000 |
commit | 5bb8bfea4399117c6ec42a58991e48e9e748a62b (patch) | |
tree | 15d51c1440e476d629801cb36ff1c43d40b660e1 /otime.c | |
parent | Version 2.1_rc22 (diff) | |
download | openvpn-5bb8bfea4399117c6ec42a58991e48e9e748a62b.tar.xz |
Fixed a couple issues in sample plugins auth-pam.c and down-root.c:
1. Fail gracefully rather than segfault if calloc returns NULL.
2. The openvpn_plugin_abort_v1 function can potentially be called
with handle == NULL. Add code to detect this case, and if
so, avoid dereferencing pointers derived from handle.
(Thanks to David Sommerseth for finding this bug).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5261 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'otime.c')
0 files changed, 0 insertions, 0 deletions