diff -r 9b1f1fe06753 -r ed3155dbd163 xmlsecurityengine/xmlsec/src/xmlsec_errors.c --- a/xmlsecurityengine/xmlsec/src/xmlsec_errors.c Fri Apr 16 16:57:34 2010 +0300 +++ b/xmlsecurityengine/xmlsec/src/xmlsec_errors.c Mon May 03 14:14:40 2010 +0300 @@ -242,8 +242,9 @@ if(msg != NULL) { va_list va; - - va_start(va, msg); + + //va points to the first argument in the list of variable arguments + va_start(va, msg); xmlSecStrVPrintf(error_msg, sizeof(error_msg), BAD_CAST msg, va); error_msg[sizeof(error_msg) - 1] = '\0'; va_end(va);