From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Thu Mar 21 2002 - 04:35:15 EST
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
This archive was generated by hypermail 2.1.4 : Thu Mar 21 2002 - 04:35:27 EST