[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#609756: vsnprintf segfaults on second attempt with alloca



* Andrew Buckeridge:

> int vfprint(int fdout, const char *fmt, va_list ap)
> {
> 	int i=NONSTDBUF;
> 	i=vfnprint(fdout, i, fmt, ap);
> 	if(i<-1)
> 		i=vfnprint(fdout, 1-i, fmt, ap);
> 	return i;
> }

va_copy seems to be missing here.

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



Reply to: