Original string has X bytes and duplicate string has X+1 bytes, therefore need to limit read to X bytes to try and stay inside your own boundaries when reading.
The csutil.c.diff changes to hyphen are already in the cvs version, and *some* of the csutil.cxx.diff changes are already in there. Some seem like some micro opts, which it doesn't hurt to add, but which chunk does the title of this patch relate to ?
I should have noted the bugs before sending the initial patches, but looking at memcpy, realized afterwards you need to copy using the shorter string length and not the longer value.
The patches are based on what is currently inside the cvs, for example, now csutil.cxx was at 1.8 when I used it as a reverence, but is now at rev 1.9.,Looking at what 1.9 fixed, you could still apply this patch to it. this is where I found csutil.cxx
while csutil.c is located here:
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.