Fix segfault on image export (off-by-1).
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:    src/wp/impexp/xp/ie_exp_HTML.cpp
CVS: ----------------------------------------------------------------------

Valgrind is great.  I would've taken a lot longer to find this memory
corruption without it.  The problem was a new char[strlen(stuff)];,
which doesn't allocate space for the trailing 0.

pat

Reply via email to