Author: cgutman
Date: Wed Jan 27 09:49:48 2010
New Revision: 45284
URL:
http://svn.reactos.org/svn/reactos?rev=45284&view=rev
Log:
- Fix a potential buffer overrun and null pointer dereference
Modified:
branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/interface.c
Modified: branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/interface.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/lib/driver…
==============================================================================
--- branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/interface.c [iso-8859-1]
(original)
+++ branches/aicom-network-branch/lib/drivers/oskittcp/oskittcp/interface.c [iso-8859-1]
Wed Jan 27 09:49:48 2010
@@ -401,7 +401,7 @@
so->so_state |= SS_NBIO | SS_ISCONNECTED;
so->so_q = so->so_q0 = NULL;
- so->so_qlen = 0;
+ so->so_qlen = so->so_q0len = 0;
so->so_head = 0;
so->so_connection = context;