Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: Fix drmemory hits when processing NFSv4 referrals
Fix two drmemory hits when processing NFSv4 referrals: ---- snip ---- Error #1: UNINITIALIZED READ: reading 8 byte(s) 0 path_fh_copy [ms-nfs41-client\daemon\util.c:468] 1 server_lookup [ms-nfs41-client\daemon\lookup.c:259] 2 server_lookup_loop [ms-nfs41-client\daemon\lookup.c:360] 3 nfs41_lookup [ms-nfs41-client\daemon\lookup.c:512] 4 lookup_entry [ms-nfs41-client\daemon\readdir.c:468] 5 readdir_copy_entry [ms-nfs41-client\daemon\readdir.c:534] 6 handle_readdir [ms-nfs41-client\daemon\readdir.c:800] 7 upcall_handle [ms-nfs41-client\daemon\upcall.c:220] 8 nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:201] 9 nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:239] 10 KERNEL32.dll!BaseThreadInitThunk +0x13 (0x00007ffadccb7374 <KERNEL32.dll+0x17374>) Error #2: UNINITIALIZED READ: reading 8 byte(s) 0 path_fh_copy [ms-nfs41-client\daemon\util.c:470] 1 server_lookup [ms-nfs41-client\daemon\lookup.c:259] 2 server_lookup_loop [ms-nfs41-client\daemon\lookup.c:360] 3 nfs41_lookup [ms-nfs41-client\daemon\lookup.c:512] 8 readdir_copy_entry [ms-nfs41-client\daemon\readdir.c:534] 9 handle_readdir [ms-nfs41-client\daemon\readdir.c:800] 10 upcall_handle [ms-nfs41-client\daemon\upcall.c:220] 11 nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:201] 12 nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:239] ---- snip ---- Reported-by: Cedric Blancher <[email protected]> Signed-off-by: Cedric Blancher <[email protected]> Signed-off-by: Tigran Mkrtchyan <[email protected]>
- Loading branch information