Fix potential bug:
If caller doesn't zero-initialize smb_t, then the 'lock' member could've been non-zero (garbage) and some functions would then not lock the SMB header, used for protecting against corruption from multiple process or thread modification of the same base.
Loading
Please register or sign in to comment