The following commit has been merged in the master branch: commit 60caadec3a7d6ef64744be8533205ecfa0ff4179 Author: Jeffrey Altman <jalt...@secure-endpoints.com> Date: Sat Sep 5 09:44:11 2009 -0400
Windows: smb_FindShareCSCPolicy uses invalid registry key smb_FindShareCSCPolicy() ignored the error state of RegCreateKeyEx() and would pass the uninitialized hkCSCPolicy to RegQueryValueEx() and RegCloseKey(). While this did not produce invalid results, it did result in unnecessary operations and exception handling within the Win32 registry apis. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/402 Tested-by: Asanka Herath <asa...@secure-endpoints.com> Reviewed-by: Asanka Herath <asa...@secure-endpoints.com> Reviewed-by: Derrick Brashear <sha...@dementia.org> Tested-by: Jeffrey Altman <jalt...@openafs.org> Reviewed-by: Jeffrey Altman <jalt...@openafs.org> src/WINNT/afsd/smb.c | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) -- OpenAFS Master Repository _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs