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 "UNINITIALIZED READ" hits in |attr_cache_update()|
Fix DrMemory hits in |attr_cache_update()|, which were triggered by using the request |bitmap4| instead of the response |bitmap4| DrMemory hits look like this: ---- snip ---- Error #1: UNINITIALIZED READ: reading 8 byte(s) attr_cache_update [ms-nfs41-client\daemon\name_cache.c:323] nfs41_attr_cache_update [ms-nfs41-client\daemon\name_cache.c:957] nfs41_setattr [ms-nfs41-client\daemon\nfs41_ops.c:1495] handle_setexattr [ms-nfs41-client\daemon\ea.c:186] upcall_handle [ms-nfs41-client\daemon\upcall.c:220] nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:188] nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:226] KERNEL32.dll!BaseThreadInitThunk +0x13 (0x00007ffe78f47374 <KERNEL32.dll+0x17374>) Error #2: UNINITIALIZED READ: reading 4 byte(s) attr_cache_update [ms-nfs41-client\daemon\name_cache.c:324] nfs41_attr_cache_update [ms-nfs41-client\daemon\name_cache.c:957] nfs41_setattr [ms-nfs41-client\daemon\nfs41_ops.c:1495] handle_setexattr [ms-nfs41-client\daemon\ea.c:186] upcall_handle [ms-nfs41-client\daemon\upcall.c:220] nfsd_worker_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:188] nfsd_thread_main [ms-nfs41-client\daemon\nfs41_daemon.c:226] KERNEL32.dll!BaseThreadInitThunk +0x13 (0x00007ffe78f47374 <KERNEL32.dll+0x17374>) ---- snip ---- Signed-off-by: Cedric Blancher <[email protected]> Signed-off-by: Tigran Mkrtchyan <[email protected]>
- Loading branch information