delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Fri, 21 Dec 2012 13:42:06 -0500 |
Message-Id: | <201212211842.qBLIg6qp028482@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <50D48246.7010706@gmx.de> (message from Juan Manuel Guerrero on |
Fri, 21 Dec 2012 16:37:42 +0100) | |
Subject: | Re: Question about va_* macros |
References: | <50D48246 DOT 7010706 AT gmx DOT de> |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
You can't rely on a NULL at the end of a va_list. I have seen *many* bugs where a missing explicit NULL in a va call caused problems because there was no terminator.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |