| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1853
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 4 - High, e.g. key functionality not working |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | void Fl_Preferences::Node::set( const char *line ) bug |
Version: | 1.1.7 |
Created By: | paoloItaly |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v6015) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | paoloItaly 01:42 Jan 08, 2008 |
| - file Fl_Preferencies.cxx - function Fl_Preferences::Node::set( const char *line ) - line code strlcpy( nameBuffer, line, c-line+1);
Don't check if line is longer than sizeof(nameBuffer). int len = c-line+1; if (len >= sizeof(nameBuffer)) len = sizeof(nameBuffer); strlcpy( nameBuffer, line, len);
Regards | |
|
#2 | matt 13:24 Jan 09, 2008 |
| Fixed in Subversion repository. | |
[ Return to Bugs & Features ]
|
| |