Fix a locking issue found by running AFL on the userland stack.
Thanks to Felix Weinrank for reporting the issue. MFC after: 3 days
This commit is contained in:
parent
b4ed9a87f9
commit
adc59f7f46
@ -4863,9 +4863,6 @@ process_control_chunks:
|
||||
if ((stcb != NULL) && (stcb->asoc.total_output_queue_size)) {
|
||||
;
|
||||
} else {
|
||||
if (stcb != NULL) {
|
||||
SCTP_TCB_UNLOCK(stcb);
|
||||
}
|
||||
*offset = length;
|
||||
if (stcb != NULL) {
|
||||
#if defined(__APPLE__) || defined(SCTP_SO_LOCK_TESTING)
|
||||
|
Loading…
x
Reference in New Issue
Block a user