There is an unexpected crash "Errorcode 141" when
running the kernel mapper on certain architectures (AMD64).
This happens when the output buffer is resized in the
function d2p_print; reinitialisation of ap solves the
problem.
while ((RetVal >= Context->out_buf->Size - size
- 1) || (RetVal == -1))
{
ResizeBuffer (Context->out_buf,
Context->out_buf->Size);
p = Context->out_buf->Ptr + size;
+ va_end(ap); // PR
+ va_start(ap, fmt); // PR
RetVal = vsnprintf(p,
Context->out_buf->Size - size, fmt, ap);
}
Peter Roozemaal (mathfox AT xs4all IN the netherlands)
This working indeed, thanks! Tor the maintainer: please make a new release.