projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148007f
)
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)
util_attr.cpp
patch
|
blob
|
history
diff --git
a/util_attr.cpp
b/util_attr.cpp
index
384769f
..
a25d2ff
100644
(file)
--- a/
util_attr.cpp
+++ b/
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)) {