Ethereal-cvs: [Ethereal-cvs] rev 12970: /trunk/epan/: addr_resolv.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Fri, 07 Jan 2005 03:19:48 -0000
User: lroland
Date: 2005/01/06 09:19 PM

Log:
 Check return value of getenv(). 
 It can return NULL, which would lead here to strcpy(hostspath, NULL);
 *Very* bad.
 
 replace g_malloc(), strcpy() and strcat() with one single g_strconcat().

Directory: /trunk/epan/
  Changes    Path             Action
  +7 -3      addr_resolv.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=12970&view=rev