rapid7 / ruby_smb

A native Ruby implementation of the SMB Protocol Family
Other
80 stars 80 forks source link

FileRenameInformation Missing Padding #223

Open gwillcox-r7 opened 2 years ago

gwillcox-r7 commented 2 years ago

Seems like according to https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/52aa0b70-8094-4971-862d-79793f41e6a8?redirectedfrom=MSDN the FileRenameInformation class should be terminated with optional padding to make the size at least 24 bytes long, but I don't see this in our definition?