Closed xspeed1989 closed 1 year ago
@sahlberg I found the issue. It seems to be that libsmb2 doesn't deal with alloc hint, I found libsmb2 set lenght to 65535,but huge data need recv more times.
I think correctly code should like pseudocode as blow:
if(SMB2.NTSTATUS ==NT Status: STATUS_BUFFER_OVERFLOW (0x80000005) || alloc_hint != logic_recived_data_len )
request_read()
I call REnumServicesStatusExW, request as below
response:
windows doesn't replay full data, But I use WINAPI, it works, It will recives data one more time after FSCTL_PIPE_TRANSCEIVE
I found windows api will send some data like this