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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:32:25 UTC