diff --git a/drivers/filesystems/udfs/Include/mem_tools.h b/drivers/filesystems/udfs/Include/mem_tools.h index 7dfc8ed4824..11d92544dbc 100644 --- a/drivers/filesystems/udfs/Include/mem_tools.h +++ b/drivers/filesystems/udfs/Include/mem_tools.h @@ -265,7 +265,7 @@ ULONG inline MyReallocPool__(PCHAR addr, ULONG len, PCHAR *pnewaddr, ULONG newle RtlCopyMemory(newaddr, addr, newlen); } else { RtlCopyMemory(newaddr, addr, len); - RtlZeroMemory(newaddr+len, newlen - len); + RtlZeroMemory(newaddr+len, _newlen - len); } #ifdef MY_MEM_BOUNDS_CHECK for(i=0; i