projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d4216
)
Fix bug which caused get_default_realm to fail the second time it was called.
author
Theodore Tso
<tytso@mit.edu>
Fri, 10 Jun 1994 22:33:01 +0000
(22:33 +0000)
committer
Theodore Tso
<tytso@mit.edu>
Fri, 10 Jun 1994 22:33:01 +0000
(22:33 +0000)
(typo).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3737
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/os/def_realm.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/os/def_realm.c
b/src/lib/krb5/os/def_realm.c
index 809ee44051da373652a3181306a837d96b0f9f05..9f57b1e3c75e714986acc8a00580ecafb2acff09 100644
(file)
--- a/
src/lib/krb5/os/def_realm.c
+++ b/
src/lib/krb5/os/def_realm.c
@@
-103,6
+103,6
@@
char **lrealm;
if (!(*lrealm = cp = malloc((unsigned int) strlen(realm) + 1)))
return ENOMEM;
- strcpy(cp, realm
buf
);
+ strcpy(cp, realm);
return(0);
}