diff options
| author | İsa Yurdagül <[email protected]> | 2022-07-06 12:41:08 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-06 12:41:08 +0300 |
| commit | a0e28e02cbd274de30e64abd38d8690dd45396a9 (patch) | |
| tree | fe8417fb60f19a524a9294b592c4387515fa82e6 | |
| parent | f6b5a19b6e6327b6ad97ac94bdc0a26c2f01437e (diff) | |
Solves the miscalculation of the message index
| -rw-r--r-- | filesys/miniFilter/scanner/user/scanUser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filesys/miniFilter/scanner/user/scanUser.c b/filesys/miniFilter/scanner/user/scanUser.c index 13dd3494..b4605156 100644 --- a/filesys/miniFilter/scanner/user/scanUser.c +++ b/filesys/miniFilter/scanner/user/scanUser.c @@ -376,8 +376,8 @@ main ( } for (j = 0; j < requestCount; j++) { - - PSCANNER_MESSAGE msg = &(messages[i * j]); + + PSCANNER_MESSAGE msg = &(messages[i * requestCount + j]); memset( &msg->Ovlp, 0, sizeof( OVERLAPPED ) ); |
