The following commit has been merged in the master branch: commit d9445f505ad0fc5a993d954a2d6654785c140351 Author: Jeffrey Altman <jalt...@secure-endpoints.com> Date: Tue Jul 14 17:49:00 2009 -0400
Prevent crash on Windows when data version goes backwards Within cm_MergeStatus() cm_FindVolumeByID() was called with a NULL pointer instead of a valid cm_req_t object pointer in the case where the data version for an object received from the file server is smaller than the value already stored in the cache. This results in a NULL pointer dereference. Allocate a cm_req_t object on the stack and initialize it before calling cm_FindVolumeByID() in this case. LICENSE MIT Reviewed-on: http://gerrit.openafs.org/83 Verified-by: Jeffrey Altman <jalt...@openafs.org> Reviewed-by: Jeffrey Altman <jalt...@openafs.org> src/WINNT/afsd/cm_scache.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) -- OpenAFS Master Repository _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs