← Back to team overview

cuneiform team mailing list archive

[Bug 640051] Re: Type mismatch: va_list and char*

 

Sorry for late reply.
I missed 2 more functions: SnpLog and SnpStatusLine.

-- 
Type mismatch: va_list and char*
https://bugs.launchpad.net/bugs/640051
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.

Status in Linux port of Cuneiform: Fix Committed
Status in “cuneiform” package in Debian: Unknown

Bug description:
In several functions of Kern/hdebug/__snp.c (in LDPUMA_ConsoleN, LDPUMA_StatusLine, LDPUMA_MessageBoxOk, LDPUMA_MessageBoxYesNo, LDPUMA_FPrintf1024 functions) a function expecting a char* is called with a va_list argument. On some architectures[0] such a code will not ever compile, because va_list is not a pointer; on some othera, it will lead to a crash if the code in question is ever reached.

[0] E.g. ARM with GNU EABI: https://buildd.debian.org/fetch.cgi?&pkg=cuneiform&ver=1.0.0%2Bdfsg-1&arch=armel&stamp=1284497466





References