Many thanks for the feedback. Indeed, the standard states that "Each
invocation of the va_start and va_copy macros shall be matched by a
corresponding invocation of the va_end macro in the same function."
Note the "in the same function". Currently, the call to luaG_runerror
is in another function. Moreover, it may occurr memory-allocation
errors too. So, the fix needs some care.
-- Roberto