aboutsummaryrefslogtreecommitdiff
path: root/occ.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-12-10 23:50:03 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-12-10 23:50:03 +0000
commit5bb8bfea4399117c6ec42a58991e48e9e748a62b (patch)
tree15d51c1440e476d629801cb36ff1c43d40b660e1 /occ.h
parentVersion 2.1_rc22 (diff)
downloadopenvpn-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 'occ.h')
0 files changed, 0 insertions, 0 deletions