Hi,
As I told Alfred some time ago, I was going to request access to the
Coverity scan reports. I did, and have been reviewing them. So I'll be
sending patches fixing the issues there. I checked the servers and
common libraries first. There does not seem to be anything fatal for
now, though.
2006-10-21 Guillem Jover <[EMAIL PROTECTED]>
* syslogd/init.c (init): Free cf before returning due to not enough
memory errors.
Index: syslogd/syslogd.c
===================================================================
RCS file: /sources/inetutils/inetutils/syslogd/syslogd.c,v
retrieving revision 1.73
diff -u -r1.73 syslogd.c
--- syslogd/syslogd.c 12 Oct 2006 09:56:58 -0000 1.73
+++ syslogd/syslogd.c 21 Oct 2006 12:19:26 -0000
@@ -1656,6 +1656,7 @@
{
/* There is no graceful recovery here. */
dbg_printf ("cannot allocate space for configuration\n");
+ fclose (cf);
return;
}
cline = cbuf;
@@ -1695,6 +1696,7 @@
{
/* Sigh ... */
dbg_printf ("cannot allocate space configuration\n");
+ fclose (cf);
free (cbuf);
return;
}
_______________________________________________
Bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils