The following commit has been merged in the openafs-stable-1_6_x branch:
commit 3afc0fdfcfef07d11046a34b8c74ad0f7b1bb9ad
Author: Simon Wilkinson <[email protected]>
Date: Tue Feb 26 22:40:04 2013 +0000
kauth: Fix overflow when writing ticket file
krb_write_ticket_file uses a fixed length buffer to store the name
of the ticket file, but copies into this from an environment variable.
Remove the fixed length buffer, and use a mixture of the variable
itself, and dynamically allocated strings.
Caught by coverity (#985909)
Reviewed-on: http://gerrit.openafs.org/9294
Tested-by: BuildBot <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
(cherry picked from commit a332ce9d0e87fab55f3d286690026fe075f624dd)
Change-Id: Idcf442323b13cc4daa893917ede6492616ba1aeb
Reviewed-on: http://gerrit.openafs.org/11021
Tested-by: BuildBot <[email protected]>
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/kauth/krb_tf.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs