* an_to_ln.c (do_replacement): Patch from Bill Dodd to fix missing
braces in previous security patch.
ticket: new
tags: pullup
target_version: 1.3.4
version_reported: 1.3.4
component: krb5-libs
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16384
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-06-02 Tom Yu <tlyu@mit.edu>
+
+ * an_to_ln.c (do_replacement): Patch from Bill Dodd to fix missing
+ braces in previous security patch.
+
2004-06-01 Sam Hartman <hartmans@mit.edu>
* an_to_ln.c (rule_an_to_ln): Fix buffer overflow when parsing
strncpy(op, repl, MAX_FORMAT_BUFFER - 1 - (op - out));
op += strlen(repl);
cp += edispl;
- if (!doall)
+ if (!doall) {
use_bytes(strlen(cp));
strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out));
+ }
matched = 1;
}
else {