Closed RavSS closed 2 years ago
The printf() implementation lacks a va_end(ap) call before it returns, as va_start(ap) was used. va_end usually does nothing on most platforms, but not including it is undefined behaviour in C and is thus unsafe.
printf()
va_end(ap)
va_start(ap)
va_end
The
printf()
implementation lacks ava_end(ap)
call before it returns, asva_start(ap)
was used.va_end
usually does nothing on most platforms, but not including it is undefined behaviour in C and is thus unsafe.