diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-09-01 10:35:21 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-09-01 10:35:21 +0000 |
| commit | 9fd31ed94ebdcd8775e702d77edca2d36d13f7f2 (patch) | |
| tree | 990b91b5932f7fe76baf03667c1b4a77d93901d8 /src/Fl_Check_Button.cxx | |
| parent | 89954986bbb2fcba385d3813dde43b70224b1795 (diff) | |
Fix buffer overflow in CR/LF conversion.
An already present CR/LF combination causes us to jump two characters,
but we failed to update the length counter when doing this.
This also makes sure we handle the corner case of a CR as the last
character.
Note: porting Pierre Ossman's commit (svn r11873) to branch-1.3-porting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Check_Button.cxx')
0 files changed, 0 insertions, 0 deletions
