| | [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]
STR #2319
| Application: | FLTK Library |
| Status: | 5 - New |
| Priority: | 3 - Moderate, e.g. unable to compile the software |
| Scope: | 2 - Specific to an operating system |
| Subsystem: | Unassigned |
| Summary: | fltk::setfont() crashes as fontopen() returns NULL |
| Version: | 2.0-current |
| Created By: | jhuizer |
| Assigned To: | Unassigned |
| Fix Version: | Unassigned |
| Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
| |
| #1 | jhuizer 04:55 Feb 17, 2010 |
| Running dillo-2.2, I browsed to a webpage which requested the "Courier" font. It ends up calling fltk::setfont(), which in turn calls fontopen(). Given it's settings, fontopen() returned NULL, and fltk::setfont() continues using the pointer without checking it - resulting in a crash.
The fontopen() function gets called with the following arguments: name : "Courier" attributes : 0 size : 10 core : false
I'm not sure whether there is some misconfiguration on my system. Regardless, it shouldn't crash the program. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |