aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2023-04-11 22:42:11 +0200
committerJakub Kicinski <[email protected]>2023-04-13 09:58:55 -0700
commitc0ff6f6da66a7791a32c0234388b1bdc00244917 (patch)
tree497dbc31124fcf1c5548279c653fb401d371dd22 /lib/test_fortify/write_overflow-strncpy-src.c
parentd6a0443733434408f2cbd4c53fea6910599bab9e (diff)
mptcp: fix NULL pointer dereference on fastopen early fallback
In case of early fallback to TCP, subflow_syn_recv_sock() deletes the subflow context before returning the newly allocated sock to the caller. The fastopen path does not cope with the above unconditionally dereferencing the subflow context. Fixes: 36b122baf6a8 ("mptcp: add subflow_v(4,6)_send_synack()") Cc: [email protected] Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions