From 042ae8524ead9e0f0b9257aa418bbf9f4fff1899 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 1 Jun 2015 21:44:10 +0000 Subject: [PATCH] bugfix in SOCKET_ring_create (stack corruption) git-svn-id: svn://kolibrios.org@5566 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/socket.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trunk/network/socket.inc b/kernel/trunk/network/socket.inc index f32e8c8a13..7a17d217f1 100644 --- a/kernel/trunk/network/socket.inc +++ b/kernel/trunk/network/socket.inc @@ -1508,9 +1508,9 @@ SOCKET_ring_create: add eax, SOCKET_MAXDATA mov [esi + RING_BUFFER.end_ptr], eax mov eax, esi - pop esi .fail: + pop esi ret ;-----------------------------------------------------------------