| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #14
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 5 - Critical, e.g. nothing working at all |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Forms Emulation |
Summary: | bad boundary check in form selection |
Version: | 1.1.3 |
Created By: | anil.recoil |
Assigned To: | mike |
Fix Version: | 1.1.4 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | anil.recoil 05:46 Apr 14, 2003 |
| --- src/forms_fselect.cxx.orig Mon Apr 14 13:41:45 2003 +++ src/forms_fselect.cxx Mon Apr 14 13:42:13 2003 @@ -48,7 +48,7 @@ char* fl_show_file_selector(const char * if (!q) return 0; strlcpy(fl_directory, q, sizeof(fl_directory)); p = (char *)fl_filename_name(fl_directory); - strlcpy(fl_filename, p, sizeof(fl_directory)); + strlcpy(fl_filename, p, sizeof(fl_filename)); if (p > fl_directory+1) p--; *p = 0; return (char *)q;
| |
|
#2 | mike 06:56 Apr 14, 2003 |
| Thanks for the patch; it will be applied to CVS shortly for 1.1.4. | |
|
#3 | mike 13:21 May 04, 2003 |
| Fixed in CVS for 1.1.4. | |
[ Return to Bugs & Features ]
|
| |