smb: Header field contains control characters issue
Running chksmb on dove-syncops I get the following message
Checking dovenet/dove-syncops Headers
93% #14922 (3DA220) SYS64738 Header field contains control characters
100%
After running fixsmb
31% #11465 (152120) Charles Blackburn
(152420) smb_getmsghdr returned -103:
smb_getmsghdr corrupt message header ID (52 54 2F 46) at offset 1385504
68% #13511 (2D2620) Charles Blackburn
(2D2920) smb_getmsghdr returned -103:
smb_getmsghdr corrupt message header ID (54 48 45 46) at offset 2959648
70% #13615 (2E5020) Ebojager
(2E5320) smb_getmsghdr returned -103:
smb_getmsghdr corrupt message header ID (2F 4F 55 54) at offset 3035936
79% #14159 (34AB20) kk4qbn
(34AE20) smb_getmsghdr returned -103:
smb_getmsghdr corrupt message header ID (00 02 00 04) at offset 3452448
89% #14716 (3B2E20) Amessyroom
(3B3120) smb_getmsghdr returned -103:
smb_getmsghdr corrupt message header ID (00 00 00 00) at offset 3879200
91% #14854 (3CD420) Amessyroom
(3CD720) smb_getmsghdr returned -103:
smb_getmsghdr corrupt message header ID (04 00 00 00) at offset 3987232
100%
Sorting index...
Re-writing index...
If I rerun chksmb then I still get the same issue. Can we have fixsmb strip out invalid control characters from the header, or better yet, don't let them get there in the first place when importing the message?