The following commit has been merged in the openafs-stable-1_6_x branch:
commit 286f9e47d97c55bd8724a65350cf162478eea87c
Author: Simon Wilkinson <[email protected]>
Date: Sat Mar 2 09:26:05 2013 +0000
auth: Don't overflow cell string
If the kernel gives us bogus data back from the VIOCGETTOK pioctl,
we might overflow the cell string when copying in to it. Use
strlcpy to avoid this (unlikely) occurrence.
Caught by coverity (#985768, #985769)
Reviewed-on: http://gerrit.openafs.org/9349
Reviewed-by: Derrick Brashear <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
(cherry picked from commit 362728d2d6d53011603dc39f691707db20866434)
Change-Id: I839c330a232525ddccc7957ead785c7ed9beec88
Reviewed-on: http://gerrit.openafs.org/11036
Reviewed-by: Andrew Deason <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/auth/ktc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs