From ccf3681097763b8246d314d73cfee6dffdddaf86 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 17 May 2016 16:33:50 +0000 Subject: Fix Fl_Help_View buffer overflow (STR #3275). This version works much better than the previous one: - fixed buffer overflow ("stack corruption") - fixed potential long text truncation - fixed tab formatting at line start or any offset divisible by 8 - better handling of HTML entities (aka quoted characters) - code simplifications, e.g. HV_Edit_Buffer::cmp() + width() Todo: - improve and standardize handling of HTML entities - more tests Missing features and known bugs: - strike out text (not implemented) - table and horizontal line formatting issues (STR #3227) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Help_View.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Help_View.H b/FL/Fl_Help_View.H index abc5bc739..30c63587e 100644 --- a/FL/Fl_Help_View.H +++ b/FL/Fl_Help_View.H @@ -187,7 +187,7 @@ struct Fl_Help_Target { - macr micro middot - nbsp not Ntilde ntilde - Oacute oacute Ocirc ocirc Ograve ograve ordf ordm Oslash oslash Otilde otilde Ouml ouml - - para premil plusmn pound + - para permil plusmn pound - quot - raquo reg - sect shy sup1 sup2 sup3 szlig -- cgit v1.2.3