Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 111573 | Differences between
and this patch

Collapse All | Expand All

(-)linux-ftpd-0.17/ftpd/ftpd.c (-2 / +2 lines)
Lines 2082-2090 Link Here
2082
	va_start(ap);
2082
	va_start(ap);
2083
#endif
2083
#endif
2084
#ifdef USE_SSL
2084
#ifdef USE_SSL
2085
        /* assemble the output into a buffer */
2085
        /* assemble the output into a buffer, checking for length*/
2086
	sprintf(outputbuf,"%d ",n);
2086
	sprintf(outputbuf,"%d ",n);
2087
	vsprintf(outputbuf+strlen(outputbuf),fmt,ap);
2087
	vsnprintf(outputbuf+strlen(outputbuf),2048-(strlen(outputbuf) + 3),fmt,ap);
2088
	strcat(outputbuf,"\r\n");
2088
	strcat(outputbuf,"\r\n");
2089
2089
2090
	if (ssl_debug_flag)
2090
	if (ssl_debug_flag)

Return to bug 111573