Skip to content

Commit

Permalink
Fix Fl_Help_View buffer overflow (STR #3275).
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Albrecht Schlosser committed May 17, 2016
1 parent 495d15c commit ccf3681
Show file tree
Hide file tree
Showing 2 changed files with 541 additions and 348 deletions.
2 changes: 1 addition & 1 deletion FL/Fl_Help_View.H
Expand Up @@ -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
Expand Down

0 comments on commit ccf3681

Please sign in to comment.