Share

RTF to HTML Lite Converter

Tracker: Bugs

5 CRevString overflow - ID: 2827068
Last Update: Settings changed ( vttoth )

I was converting an RTF file with lots of font changes; this caused a
segmentation error, due to a buffer overflow in a CRevString (closingtags).
As a temporary workaround, I just increased the buffer size in gstring.h
from 256 to 4096, but surely, there is a more appropriate and robust way to
deal with this issue.

I am also wondering if perhaps successive font changes should trigger the
closing of the previous SPAN tag, instead of opening an ever increasing
number of nested SPANs, which seems to have been at the root of the problem
that I ran into.


Viktor Toth ( vttoth ) - 2009-07-25 16:33

5

Deleted

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
close_date - 2009-07-25 16:33 vttoth
status_id Open 2009-07-25 16:33 vttoth