xiaoxiang781216 commented on PR #22145: URL: https://github.com/apache/nuttx/pull/22145#issuecomment-7099533587
> Potential double free between tcp_backlogdetach() and tcp_backlogfree() in tcp_free(): tcp_free() detaches the backlog under the list lock and frees it after the unlock. Between the two, each pending connection is still on the active connection list. If one receives a RST in that window, the input path calls tcp_free() on it directly. tcp_backlogfree() then calls tcp_free() on the same connection again from its stale bl_pending list. @casaroli please look at this problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
