For varargs to work on other platforms (like PowerPC) a va_end is needed for every va_start, regardless of the error path. There are a few instances in the code where this is the case.
Created attachment 3946 [details]
Makes sure va_end is called no matter what condition
Created attachment 4281 [details]
The attached patch has been updated for merged code and some cases not originally identified.
Pushed to "master". Fixed!
Wrong patch, reopen!