OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3534-g12ced70
Gerrit Code Review
gerrit@openafs.org
Wed, 27 Feb 2013 12:44:05 -0800 (PST)
The following commit has been merged in the master branch:
commit 12ced70c95fe8efbcec09a372f0af81d819bb8cd
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Wed Feb 27 09:23:07 2013 +0000
pt_util: Protect against corrupt input files
If we have an input file which contains a group membership line
(with a leading space) before any group definitions occur, pt_util
would use stack garbage as the group to create these members in.
Avoid this by requiring the presence of a group line before any
membership lines.
Caught by coverity (#92180, #986000, #92248)
Change-Id: I536f089d67041dbf90f35b6dfeed5ba3303318a8
Reviewed-on: http://gerrit.openafs.org/9296
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/ptserver/pt_util.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository