Blender Git Commit Log

Git Commits -> Revision 15cfb37

Revision 15cfb37 by Germano Cavalcante (master)
July 16, 2021, 12:53 (GMT)
Fix T89782: Segfault populating popup menu with dimensions above the opengl limit

The crash happens because `GPU_offscreen_create` is called with `err_out` `NULL`.

This patch proposes a solution within the `GPU_offscreen_create` itself
and raises an error report in the interface if a menu is called with
dimensions beyond what is supported.

Ref T89782

Maniphest Tasks: T89782

Differential Revision: https://developer.blender.org/D11927

Commit Details:

Full Hash: 15cfb375a39b9d9e35e8c83942edb8f43788427f
Parent Commit: e78e235
Lines Changed: +8, -1

2 Modified Paths:

/source/blender/gpu/intern/gpu_framebuffer.cc (+7, -1) (Diff)
/source/blender/windowmanager/intern/wm_draw.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021