Re: [cc65] Compiler: Should xvsnprintf() work?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2013-03-23 21:10:54
Hi!

On Sat, Mar 23, 2013 at 07:49:56PM +0100, Christian Krüger wrote:
> browsing through the compiler source, I notice 'xvsnprintf()'. Is
> this actually in use?

Yes, heavily.

> It seems there is is some kind of bug in it:
>
> ...
> PrintfCtrl P;
> ...
> va_copy (P.ap, ap);   // <- use of uninitialized buffer/memory!

-v please.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Mar 23 21:11:02 2013

This archive was generated by hypermail 2.1.8 : 2013-03-23 21:11:06 CET