W3C home > Mailing lists > Public > www-archive@w3.org > March 2004

genxAddText vs. null pointer

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 17 Mar 2004 03:20:53 +0100
To: tbray@textuality.com
Cc: www-archive@w3.org
Message-ID: <4060b524.286983760@smtp.bjoern.hoehrmann.de>

Hi Tim,

  genxAddText(w, (const utf8)0) should either add no text or return an
error (I would prefer to add no text and continue); it would currently
attempt to dereference the null pointer which is a bad idea...

regards.
Received on Tuesday, 16 March 2004 21:21:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 08:09:21 GMT