| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #3498
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | Fl_Check_Browser::add() can't take null string |
Version: | 1.4.0 |
Created By: | daniel710 |
Assigned To: | matt |
Fix Version: | 1.4.0 |
Fix Commit: | 4deeea317a788c2a88ae6b71805d2db2f8559779 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | daniel710 09:36 Oct 22, 2018 |
| The documentation for Fl_Check_Browser::add() says:
> The text is copied using the strdup() function. It may also be NULL to make a blank line.
But in the current implementation the string is passed to strdup() without any checks, so using NULL gives a segfault. | |
|
#2 | matt 10:39 Feb 01, 2019 |
| Fixed in Git repository. | |
|
#3 | matt 10:40 Feb 01, 2019 |
| Fixed in Git repository. | |
[ Return to Bugs & Features ]
|
| |