FLTK logo

STR #1853

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.