projects
/
moonshot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix uninitialized variable major
[moonshot.git]
/
mech_eap
/
util_attr.cpp
diff --git
a/mech_eap/util_attr.cpp
b/mech_eap/util_attr.cpp
index
384769f
..
a25d2ff
100644
(file)
--- a/
mech_eap/util_attr.cpp
+++ b/
mech_eap/util_attr.cpp
@@
-680,6
+680,7
@@
gss_eap_attr_ctx::mapException(OM_uint32 *minor, std::exception &e) const
/* Errors we handle ourselves */
if (typeid(e) == typeid(std::bad_alloc)) {
+ major = GSS_S_FAILURE;
*minor = ENOMEM;
goto cleanup;
} else if (typeid(e) == typeid(std::runtime_error)) {