vasprintf core dump problem on Solaris 2.8

Max V. Zinal Zlat0 at mail.ru
Thu Aug 8 17:28:01 CEST 2002


Andrzej Cuper wrote:
> I'm running into core dump problems with test programs t-encrypt, 
> t-decrypt etc, when runing 'make check' (on Solaris 2.8). 
> The problem seems to be with vasprintf (vasprintf.c in gpgme directory)
> implementation and more specifically with the following fragment of code.
> Also enclosed call stack from gdb. Please help!

strlen() coredump under Solaris is a common thing if you use an invalid, 
and, especially, NULL string pointer. According to the code this pointer 
was retrieved from (*args) via va_arg. You can check the arguments of 
asprintf().





More information about the Gnupg-devel mailing list