The following commit has been merged in the openafs-stable-1_6_x branch:
commit cf4f1c7775f445987d8df1a4b4c4c7a12a0928e8
Author: Simon Wilkinson <[email protected]>
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)
Reviewed-on: http://gerrit.openafs.org/9296
Tested-by: BuildBot <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
(cherry picked from commit 12ced70c95fe8efbcec09a372f0af81d819bb8cd)
Change-Id: I1ad524ed701e78ebe5b2e990168782a75d69613b
Reviewed-on: http://gerrit.openafs.org/11023
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Tested-by: BuildBot <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/ptserver/pt_util.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs