OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3597-g2902ef9
Gerrit Code Review
gerrit@openafs.org
Sat, 9 Mar 2013 19:17:24 -0800 (PST)
The following commit has been merged in the master branch:
commit 2902ef93976fd4baa1a1ed07f4940c5979702856
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)
Change-Id: Ia8f1816b010eb2b85b537e156de2b7983e4626ba
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>
src/aklog/aklog.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository