From: itojun Date: Thu, 15 Nov 2001 08:06:37 +0000 (+0000) Subject: comment; there has to be error traps against strdup(3) failure. X-Git-Tag: tcpdump-3.7.1~31 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/6cb0dee78fa8ccd365ee5f88904aa69407bbc2f5?hp=20039ee1a57870af74d80bc61948a5b4a468087f comment; there has to be error traps against strdup(3) failure. --- diff --git a/addrtoname.c b/addrtoname.c index 08fabbb5..8d22ce07 100644 --- a/addrtoname.c +++ b/addrtoname.c @@ -23,7 +23,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.84 2001-11-05 02:02:41 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/addrtoname.c,v 1.85 2001-11-15 08:06:37 itojun Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -62,6 +62,8 @@ struct rtentry; /* * hash tables for whatever-to-name translations + * + * XXX there has to be error checks against strdup(3) failure */ #define HASHNAMESIZE 4096