projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec68c76
)
fix tiny overrun
author
Ken Raeburn
<raeburn@mit.edu>
Mon, 24 Nov 2008 21:06:55 +0000
(21:06 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Mon, 24 Nov 2008 21:06:55 +0000
(21:06 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21183
dc483132
-0cff-0310-8789-
dd5450dbe970
src/slave/kproplog.c
patch
|
blob
|
history
diff --git
a/src/slave/kproplog.c
b/src/slave/kproplog.c
index f23a8e0509d269985204f56b911341185f36ba8d..5326e2940aba9a6d1388e354a44637788478e2c2 100644
(file)
--- a/
src/slave/kproplog.c
+++ b/
src/slave/kproplog.c
@@
-161,7
+161,7
@@
print_update(kdb_hlog_t *ulog, uint32_t entry, bool_t verbose)
exit(1);
}
(void) strncpy(dbprinc, upd.kdb_princ_name.utf8str_t_val,
-
(upd.kdb_princ_name.utf8str_t_len + 1)
);
+
upd.kdb_princ_name.utf8str_t_len
);
dbprinc[upd.kdb_princ_name.utf8str_t_len] = 0;
(void) printf(_("\tUpdate principal : %s\n"), dbprinc);