HomeFreeBSD

netsmb: Avoid a read-after-free in smb_t2_request_int()

Description

netsmb: Avoid a read-after-free in smb_t2_request_int()

Defer freeing the request structure until we've decided whether the
request should be retried.

PR: 255881
MFC after: 1 week

(cherry picked from commit 771e95d2e2ee1b60539f1273c62837b48249590a)

Details

Provenance
markjAuthored on May 26 2021, 1:57 PM
Parents
rG4814dbd3c0e6: rpcsec_gss: Use a designated initializer for rpc_gss_ops
Branches
Unknown
Tags
Unknown