FLTK logo

STR #268

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 #268

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:Core Library
Summary:Fl_Value_Input SegFaults using specified step() with huge values.
Version:1.1.4
Created By:sean.mcinerney
Assigned To:mike
Fix Version:1.1.5rc1
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 sean.mcinerney
09:42 Feb 01, 2004
test.cxx
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 sean.mcinerney
09:42 Feb 01, 2004
  Calling Fl_Value_Input::value(double) with a huge number (1.0e+299) after setting the step size to 0.001 results in a segmentation violation. Interestingly, this does not occur with the value 1.0e+99 and may, therefore, indicate a buffer size assumption.
  Formatting with a step size of 0.001 with huge numbers is obviously silly, but can occur when such values flag a default state while normally entered values make sense. The ability to fall back on an alternate formatting (%e or %g) would be better than a core dump in these circumstances.
  The included file 'test.cxx' illustrates the problem.
 
 
#2 mike
17:42 Feb 25, 2004
Fixed in CVS - the anonymous CVS repository will be updated at midnight PST.  
     

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'.