projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e42f1f
)
fix uninitialized variable major
author
Luke Howard
<lukeh@padl.com>
Tue, 29 Mar 2011 15:57:48 +0000
(
02:57
+1100)
committer
Luke Howard
<lukeh@padl.com>
Tue, 29 Mar 2011 15:57:48 +0000
(
02:57
+1100)
mech_eap/util_attr.cpp
patch
|
blob
|
history
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)) {