forked from KolibriOS/kolibrios
Dont crash on socket_fork when out of memory.
git-svn-id: svn://kolibrios.org@5155 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -1235,9 +1235,13 @@ align 4
|
||||
|
||||
lea eax, [ebx + STREAM_SOCKET.snd]
|
||||
call SOCKET_ring_create
|
||||
test eax, eax
|
||||
jz .drop
|
||||
|
||||
lea eax, [ebx + STREAM_SOCKET.rcv]
|
||||
call SOCKET_ring_create
|
||||
test eax, eax
|
||||
jz .drop
|
||||
|
||||
and [temp_bits], not TCP_BIT_DROPSOCKET
|
||||
|
||||
|
Reference in New Issue
Block a user