
Nmap Development mailing list archives
Re: [nmap-svn] r31984 - nmap-exp/d33tah/ncat-lua-callbacks/ncat
From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Wed, 21 Aug 2013 15:57:27 +0200
That should be called a "coding style fix", thought I performed a fixup before pushing. Sorry for the mess! 2013/8/21 <commit-mailer () nmap org>:
Author: d33tah Date: Wed Aug 21 14:01:07 2013 New Revision: 31984 Log: Fix an infinite recursion bug. Modified: nmap-exp/d33tah/ncat-lua-callbacks/ncat/ncat_lua.c Modified: nmap-exp/d33tah/ncat-lua-callbacks/ncat/ncat_lua.c ============================================================================== --- nmap-exp/d33tah/ncat-lua-callbacks/ncat/ncat_lua.c (original) +++ nmap-exp/d33tah/ncat-lua-callbacks/ncat/ncat_lua.c Wed Aug 21 14:01:07 2013 @@ -533,8 +533,7 @@ { size_t oldsize = size; struct ncat_lua_state *nl = get_connection(fdn); - *pending = 0; - nl->pending = 0; + *pending = nl->pending = 0; if (nl->recv_buf != NULL) { int chunk_size = nl->recv_buf_size-nl->recv_buf_pos; if (chunk_size > size) _______________________________________________ Sent through the svn mailing list http://nmap.org/mailman/listinfo/svn
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: [nmap-svn] r31984 - nmap-exp/d33tah/ncat-lua-callbacks/ncat Jacek Wielemborek (Aug 21)