forked from KolibriOS/kolibrios
bugfix in SOCKET_ring_create (stack corruption)
git-svn-id: svn://kolibrios.org@5566 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0c4f694a81
commit
042ae8524e
@ -1508,9 +1508,9 @@ SOCKET_ring_create:
|
|||||||
add eax, SOCKET_MAXDATA
|
add eax, SOCKET_MAXDATA
|
||||||
mov [esi + RING_BUFFER.end_ptr], eax
|
mov [esi + RING_BUFFER.end_ptr], eax
|
||||||
mov eax, esi
|
mov eax, esi
|
||||||
pop esi
|
|
||||||
|
|
||||||
.fail:
|
.fail:
|
||||||
|
pop esi
|
||||||
ret
|
ret
|
||||||
|
|
||||||
;-----------------------------------------------------------------
|
;-----------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user