git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
92dcbd6
)
return-truncated-reason-from-krb-udp-interface-20010305
author
Derrick Brashear
<shadow@dementia.org>
Mon, 5 Mar 2001 16:26:04 +0000 (16:26 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Mon, 5 Mar 2001 16:26:04 +0000 (16:26 +0000)
The remainder of the patch the snprintf support was intended to be used for
src/kauth/krb_udp.c
patch
|
blob
|
history
diff --git
a/src/kauth/krb_udp.c
b/src/kauth/krb_udp.c
index
78c28d6
..
d8f8db2
100644
(file)
--- a/
src/kauth/krb_udp.c
+++ b/
src/kauth/krb_udp.c
@@
-559,7
+559,6
@@
static err_packet (ksoc, pkt, code, reason)
char buf[256];
if (reason == 0) reason = "";
- else if (strlen(reason) + 20 > sizeof(buf)) reason = "reason too long";
snprintf (buf, 255, "code = %d: %s", code, reason);
if (krb_udp_debug) {