1091. [bug] libbind: misplaced va_end().
1101. [bug] Array bounds read error in lwres_gai_strerror.
+1091. [bug] libbind: misplaced va_end().
+
1090. [bug] libbind: dns_ho.c:add_hostent() was not returning
the amount of memory consumed resulting in garbage
address being returned. Alignment calculations were
*/
#if !defined(LINT) && !defined(CODECENTER)
-static const char rcsid[] = "$Id: irp.c,v 1.3 2001/04/03 06:42:27 marka Exp $";
+static const char rcsid[] = "$Id: irp.c,v 1.3.2.1 2001/11/02 20:45:32 gson Exp $";
#endif
/* Imports */
va_start(ap, fmt);
todo = vsprintf(buffer, fmt, ap);
+ va_end(ap);
if (todo > (int)sizeof(buffer) - 3) {
syslog(LOG_CRIT, "memory overrun in irs_irp_send_command()");
exit(1);
}
todo -= i;
}
- va_end(ap);
return (0);
}