← Back to team overview

cuneiform team mailing list archive

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

 

Public bug reported:

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

** Affects: cuneiform-linux
     Importance: Undecided
         Status: New

** Affects: cuneiform (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #596917
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596917

** Also affects: cuneiform (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596917
   Importance: Unknown
       Status: Unknown

-- 
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: New
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





Follow ups

References