forked from bchelli/node-smb2
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
The race in node_modules@marsaud\smb2\lib\api\readFile.js (createPackets).
offset is increased after SMB2Request, which can call createPackets via callback.
After that offset is increased twice. So we have duplicated request and do not send request for one offset.
We can get the next request sequence with offsets:
100500
100600
<----- callback from SMB2Request
100600
<----- increased twice
100800
So we have no request with 100700 offset.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels