projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
43836b0
)
[NTOSKRNL] Also try to extract name from FCB when leaking VACB
author
Pierre Schweitzer
<pierre@reactos.org>
Fri, 27 Apr 2018 17:01:35 +0000
(19:01 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Fri, 27 Apr 2018 17:01:35 +0000
(19:01 +0200)
ntoskrnl/cc/view.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/cc/view.c
b/ntoskrnl/cc/view.c
index
0432f73
..
c2b8913
100644
(file)
--- a/
ntoskrnl/cc/view.c
+++ b/
ntoskrnl/cc/view.c
@@
-1143,6
+1143,13
@@
CcRosDeleteFileCache (
{
DPRINT1("File was: %wZ\n", &FileObject->FileName);
}
+ else if (FileObject->FsContext != NULL &&
+ ((PFSRTL_COMMON_FCB_HEADER)(FileObject->FsContext))->NodeTypeCode == 0x0502 &&
+ ((PFSRTL_COMMON_FCB_HEADER)(FileObject->FsContext))->NodeByteSize == 0x1F8 &&
+ ((PUNICODE_STRING)(((PUCHAR)FileObject->FsContext) + 0x100))->Length != 0)
+ {
+ DPRINT1("File was: %wZ (FastFAT)\n", (PUNICODE_STRING)(((PUCHAR)FileObject->FsContext) + 0x100));
+ }
else
{
DPRINT1("No name for the file\n");