diff options
author | Will Fiveash <will.fiveash@oracle.com> | 2009-01-10 01:06:45 +0000 |
---|---|---|
committer | Will Fiveash <will.fiveash@oracle.com> | 2009-01-10 01:06:45 +0000 |
commit | 9002edc53df996fd9ab740e6652b8eadf31b8cb3 (patch) | |
tree | 3bbbabb5325b0d52d5cb4d638691ebc077378d42 /src/appl/telnet/libtelnet/enc_des.c | |
parent | def85286436a4bf95ffce574e83783a76001f7cf (diff) | |
download | krb5-9002edc53df996fd9ab740e6652b8eadf31b8cb3.zip krb5-9002edc53df996fd9ab740e6652b8eadf31b8cb3.tar.gz krb5-9002edc53df996fd9ab740e6652b8eadf31b8cb3.tar.bz2 |
Merged with current trunk, no new function added. Everything builds
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mkey_migrate@21722 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/telnet/libtelnet/enc_des.c')
-rw-r--r-- | src/appl/telnet/libtelnet/enc_des.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/appl/telnet/libtelnet/enc_des.c b/src/appl/telnet/libtelnet/enc_des.c index c399d22..aa00ae2 100644 --- a/src/appl/telnet/libtelnet/enc_des.c +++ b/src/appl/telnet/libtelnet/enc_des.c @@ -550,28 +550,28 @@ fb64_printsub(data, cnt, buf, buflen, type) switch(data[2]) { case FB64_IV: - sprintf(lbuf, "%s_IV", type); + snprintf(lbuf, sizeof(lbuf), "%s_IV", type); cp = lbuf; goto common; case FB64_IV_OK: - sprintf(lbuf, "%s_IV_OK", type); + snprintf(lbuf, sizeof(lbuf), "%s_IV_OK", type); cp = lbuf; goto common; case FB64_IV_BAD: - sprintf(lbuf, "%s_IV_BAD", type); + snprintf(lbuf, sizeof(lbuf), "%s_IV_BAD", type); cp = lbuf; goto common; default: - sprintf(lbuf, " %d (unknown)", data[2]); + snprintf(lbuf, sizeof(lbuf), " %d (unknown)", data[2]); cp = lbuf; common: for (; (buflen > 0) && (*buf = *cp++); buf++) buflen--; for (i = 3; i < cnt; i++) { - sprintf(lbuf, " %d", data[i]); + snprintf(lbuf, sizeof(lbuf), " %d", data[i]); for (cp = lbuf; (buflen > 0) && (*buf = *cp++); buf++) buflen--; } |