egl: check for buffer overflow *before* corrupting our memory
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 16 Aug 2018 14:31:55 +0000 (15:31 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 16 Aug 2018 16:38:22 +0000 (17:38 +0100)
commitaa78b29ebad710d743747bb9b9755b6eea9ed4d2
tree4029c134224172095ff8a6fa988737c5d513b26a
parenteb6b41749bb8d9f0788a41937c81435f2fc0f94c
egl: check for buffer overflow *before* corrupting our memory

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/eglapi.c