nmap/nsock/src
dmiller e4ce527a38 Avoid null pointer dereference to implement container_of
Using offsetof instead of actually dereferencing a 0 pointer is still
standards compliant (works under gcc -ansi, clang -ansi), and is more in
line with how Linux kernel defines this macro (kernel.h). Can't exactly
lift the kernel implementation because it uses gnu-extension typeof.

Not really a necessary change, but it was causing clang's address
sanitizer to complain.
2013-11-30 01:32:58 +00:00
..
acinclude.m4 Added new poll and kqueue/kevent nsock engines. 2012-10-21 23:20:35 +00:00
aclocal.m4 Regen with Autoconf 2.68 and aclocal 1.11.6. 2012-09-19 16:41:35 +00:00
configure Run nsock tests by typing make check from nmap/ or nsock/src/ 2013-05-18 13:06:10 +00:00
configure.ac Run nsock tests by typing make check from nmap/ or nsock/src/ 2013-05-18 13:06:10 +00:00
engine_epoll.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
engine_kqueue.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
engine_poll.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
engine_select.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
error.c Removed dead code 2013-07-31 19:11:21 +00:00
error.h Restore headers in nsock error.h 2013-08-06 19:39:39 +00:00
filespace.c Minor style fixes 2013-10-23 19:04:04 +00:00
filespace.h Minor style fixes 2013-10-23 19:04:04 +00:00
gh_heap.c Proper code alignment. 2013-08-13 12:36:08 +00:00
gh_heap.h Avoid null pointer dereference to implement container_of 2013-11-30 01:32:58 +00:00
gh_list.h Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
Makefile.in Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
netutils.c Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
netutils.h Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
nsock_connect.c Revert r32397, r32398, r32399 (tempnam to mkstemp). 2013-09-27 15:30:18 +00:00
nsock_core.c Get rid of a level of indentation 2013-11-06 18:52:06 +00:00
nsock_engines.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
nsock_event.c Cast literal to appropriate type 2013-11-29 01:42:42 +00:00
nsock_internal.h Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
nsock_iod.c Fix a typo in nsock documentation. 2013-08-21 20:06:38 +00:00
nsock_log.c Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
nsock_log.h Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
nsock_pcap.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
nsock_pcap.h Rewrapped and rephrased comments. 2013-07-31 19:11:09 +00:00
nsock_pool.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
nsock_proxy.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
nsock_proxy.h Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
nsock_read.c Minor style fixes 2013-10-23 19:04:04 +00:00
nsock_ssl.c Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
nsock_ssl.h Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
nsock_timers.c Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
nsock_write.c Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements). 2013-07-28 22:05:05 +00:00
proxy_http.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00
proxy_socks4.c Manage expiration times via a heap queue. 2013-08-10 23:59:30 +00:00