The following commit has been merged in the openafs-stable-1_6_x branch:
commit c5d1f3130dc2943de19e3a40b84500eb84078a79
Author: Simon Wilkinson <[email protected]>
Date: Sat Mar 2 11:44:02 2013 +0000
readpwd: Make sure user supplies a passwdfile
If the user supplies enough command line arguments, but doesn't
provide a passwdfile, then we can end up trying to open whatever
garbage is on the stack.
Once we've finished parsing the command line arguments, make sure
that a filename was supplied.
Caught by coverity (#986009)
Reviewed-on: http://gerrit.openafs.org/9441
Tested-by: BuildBot <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
(cherry picked from commit d81271640891fb8c364e8625e7a9f6ede21572f4)
Change-Id: I66d38c04c0f9519c401d3299e7d3ece57d001d96
Reviewed-on: http://gerrit.openafs.org/11052
Tested-by: BuildBot <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Reviewed-by: Chas Williams - CONTRACTOR <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
src/ptserver/readpwd.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs