projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ae59f
)
In krb5_pac_get_buffer, check the correct value for null after calling
author
Greg Hudson
<ghudson@mit.edu>
Fri, 23 Jan 2009 19:01:56 +0000
(19:01 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Fri, 23 Jan 2009 19:01:56 +0000
(19:01 +0000)
malloc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21789
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/pac.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/pac.c
b/src/lib/krb5/krb/pac.c
index fb5f597a60ff22addaa1d2814ae24b37515345c2..196b627d8b0627944696ce9f2f237e6a9a7f4138 100644
(file)
--- a/
src/lib/krb5/krb/pac.c
+++ b/
src/lib/krb5/krb/pac.c
@@
-230,7
+230,7
@@
krb5_pac_get_buffer(krb5_context context,
return ret;
data->data = malloc(d.length);
- if (data == NULL)
+ if (data
->data
== NULL)
return ENOMEM;
data->length = d.length;