Nmap Development mailing list archives
Re: [PATCH] migrate leftover malloc() calls to safe_malloc()
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Fri, 20 Jun 2008 23:44:53 +0000
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 20 Jun 2008 18:35:40 -0500 Kris Katterjohn <katterjohn () gmail com> wrote: ...snip...
Good idea. It looks fine and compiles fine for me. I notice there are also two bare realloc()s in nbase/snprintf.c which can be changed as well.BrandonThanks, Kris Katterjohn
Good catch Kris, my regex didn't allow for spaces between 'alloc' and '\('... Attached is a more complete patch. Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhcQPwACgkQqaGPzAsl94KsiwCeIH/TV2pCi9F8LcycX309RChk NNoAoIIRjQJzYrCxjsHx2P95tUcjw+T/ =j0fR -----END PGP SIGNATURE-----
Attachment:
malloc.patch
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] migrate leftover malloc() calls to safe_malloc() Brandon Enright (Jun 20)
- Re: [PATCH] migrate leftover malloc() calls to safe_malloc() Kris Katterjohn (Jun 20)
- Re: [PATCH] migrate leftover malloc() calls to safe_malloc() Brandon Enright (Jun 20)
- Re: [PATCH] migrate leftover malloc() calls to safe_malloc() Fyodor (Jun 20)
- Re: [PATCH] migrate leftover malloc() calls to safe_malloc() Brandon Enright (Jun 20)
- Re: [PATCH] migrate leftover malloc() calls to safe_malloc() Kris Katterjohn (Jun 20)