mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
STABLE14-tokens-buffer-overflow-20060315
FIXES 28227 avoid a too-short buffer we try to fill with a username. doh. (cherry picked from commit 5c408ee134b096352d140b1ce6b58edcf6e492d5)
This commit is contained in:
parent
4e72cd73f3
commit
de77645223
@ -54,7 +54,7 @@ main(int argc, char **argv)
|
||||
time_t current_time; /*Current time of day */
|
||||
time_t tokenExpireTime; /*When token expires */
|
||||
char *expireString; /*Char string of expiration time */
|
||||
char UserName[16]; /*Printable user name */
|
||||
char UserName[MAXKTCNAMELEN * 2 + 2]; /*Printable user name */
|
||||
struct ktc_principal serviceName, clientName; /* service name for ticket */
|
||||
struct ktc_token token; /* the token we're printing */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user