The following commit has been merged in the openafs-stable-1_6_x branch:
commit e49026b294d3b625baba2a91dab65e3d2e0050a7
Author: Simon Wilkinson <[email protected]>
Date: Sat Mar 2 12:15:22 2013 +0000
aklog: Protect against overflows from cmdline
The cell, realm and path arrays are populated based on the user's
command line, and xlog_path is populated from their passwd map
entry. Protect against all of these overflowing, by making suitable
use of strlcpy and strlcat.
Caught by coverity (#985764, #985904)
Reviewed-on: http://gerrit.openafs.org/9446
Reviewed-by: Derrick Brashear <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
(cherry picked from commit 2902ef93976fd4baa1a1ed07f4940c5979702856)
Change-Id: I1c8b72aa087902e45cef758844193949471170c5
Reviewed-on: http://gerrit.openafs.org/11060
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/aklog/aklog.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs