From 5ae0511a52d428b4097cab65f314f99b9baf6b5a Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Tue, 18 Feb 2014 19:42:18 +0000 Subject: [PATCH] Fixed stack corruption on SOCKET_num_to_ptr error. git-svn-id: svn://kolibrios.org@4574 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/socket.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/network/socket.inc b/kernel/trunk/network/socket.inc index 4c3105d36f..42a1f0835b 100644 --- a/kernel/trunk/network/socket.inc +++ b/kernel/trunk/network/socket.inc @@ -2088,7 +2088,8 @@ SOCKET_num_to_ptr: call mutex_unlock popa - DEBUGF DEBUG_NETWORK_ERROR, "SOCKET_num_to_ptr: not found\n", eax + DEBUGF DEBUG_NETWORK_ERROR, "SOCKET_num_to_ptr: socket %u not found!\n", eax + DEBUGF DEBUG_NETWORK_ERROR, "SOCKET_num_to_ptr: caller = 0x%x\n", [esp] ret