git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eedf9e
)
abort on memory error
author
Love Hörnquist Åstrand
<lha@kth.se>
Fri, 27 Feb 2009 03:34:24 +0000
(
03:34
+0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Fri, 27 Feb 2009 03:34:24 +0000
(
03:34
+0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24874
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
kadmin/mod.c
patch
|
blob
|
history
diff --git
a/kadmin/mod.c
b/kadmin/mod.c
index 99a30b5c97c4b3dcba06175bc0fb1c012e5d0d6f..6492852524b3a7ad3d41f12222d8e91fe7f11512 100644
(file)
--- a/
kadmin/mod.c
+++ b/
kadmin/mod.c
@@
-84,7
+84,11
@@
add_constrained_delegation(krb5_context context,
for (i = 0; i < strings->num_strings; i++) {
ret = krb5_parse_name(context, strings->strings[i], &p);
+ if (ret)
+ abort();
ret = copy_Principal(p, &ext.data.u.allowed_to_delegate_to.val[i]);
+ if (ret)
+ abort();
krb5_free_principal(context, p);
}
}