OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_8-51-ge49026b
Gerrit Code Review
gerrit@openafs.org
Tue, 3 Jun 2014 12:55:24 -0400
The following commit has been merged in the openafs-stable-1_6_x branch:
commit e49026b294d3b625baba2a91dab65e3d2e0050a7
Author: Simon Wilkinson <sxw@your-file-system.com>
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 <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 2902ef93976fd4baa1a1ed07f4940c5979702856)
Change-Id: I1c8b72aa087902e45cef758844193949471170c5
Reviewed-on: http://gerrit.openafs.org/11060
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/aklog/aklog.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository