fltk/src/drivers
Albrecht Schlosser b426a3d7c0 Fix two rare potential bugs (NULL pointer dereferencing)
Both bugs can happen if a widget doesn't have an associated window()
or in similar situations. These fixes returns NULL to prevent crashes.

Bugs observed in special test scenarios, not real-life programs.
2022-11-05 19:31:59 +01:00
..
Cairo Wayland platform: fix problem with fl_pie() (#512 - cont'd) 2022-10-30 11:46:08 +01:00
Cocoa Clean use of virtual GLContext Fl_Gl_Window_Driver::create_gl_context(). 2022-10-02 13:35:53 +02:00
Darwin Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
GDI Add necessary virtual qualifier to ~Fl_Font_Descriptor() and derived. 2022-09-08 16:04:09 +02:00
OpenGL Remove FL_EXPORT qualifier from platform-specific class declarations. 2022-08-20 10:16:32 +02:00
Posix Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
PostScript Remove duplications between Fl_Graphics_Driver and derived classes. 2022-10-10 16:58:48 +02:00
Quartz Make Fl::set_color(r,g,b,a) effective under Wayland and macOS. 2022-09-15 15:01:12 +02:00
SVG Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
Unix Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00
Wayland Fix two rare potential bugs (NULL pointer dereferencing) 2022-11-05 19:31:59 +01:00
WinAPI Add missing return value to Fl_WinAPI_Gl_Window_Driver::create_gl_context() 2022-10-02 21:37:35 +02:00
X11 Make Fl::display(const char *) active also for the Wayland platform. 2022-10-23 12:19:44 +02:00
Xlib Replace all calls to sprintf() by calls to snprintf(). 2022-09-26 16:12:18 +02:00