Windows: NotifyHardLink avoid null ptr reference
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 13 May 2013 14:09:11 +0000 (10:09 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Mon, 13 May 2013 17:39:26 +0000 (10:39 -0700)
commit975c11cb357f553f9f90a231546e0b42c6e79d31
tree29b7fbd8f6cfc9acb17788adb3c71ade9ceed8b0
parent4a91ac6f8383daa0be43d15da3be7be8d54034ac
Windows: NotifyHardLink avoid null ptr reference

In AFSNotifyHardLink, if the TargetDirectoryCB out parameter is non-NULL
but pDirNode is NULL, do not attempt to increment the
DirOpenReferenceCount because doing so will trigger an exception.

Change-Id: I9d50e05aff9a4922113f814dd3d50e115725ecca
Reviewed-on: http://gerrit.openafs.org/9903
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp