/usr/include/bits/stdio2.h:79: warning: call to int __builtin___vsnprintf_chk(char*, unsigned int, int, unsigned int, const char*, char*) will always overflow destination buffer
void BufPrintf ( BUFFER * buffer, char * fmt, ... )
{
char buf[MSL];
va_list args;
va_start ( args, fmt );
vsnprintf ( buf, LBUF, fmt, args );
va_end ( args );
add_buf ( buffer, buf );
return;
}
Ok, from what i can gather inline errors come up from using the wrong tool for the job, the others i have been able to fix myself, but i do not know what to do with this one, what should be used in this situation instead of vsnprintf.