summaryrefslogtreecommitdiffstats
path: root/VERSION
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2019-02-14 09:02:31 +0200
committerDylan Baker <[email protected]>2019-02-19 07:08:42 -0800
commit0a2e4b02ca6f0bf4b198b10a2752fb33064f44ab (patch)
treedd858b76969c76cd5a8aa6964926aad40e249641 /VERSION
parentc7fc61d15b5db5340dfe3eca633c8fc86d81b0d4 (diff)
mesa: return NULL if we exceed MaxColorAttachments in get_fb_attachment
This fixes invalid access to Attachment array which would occur if caller would exceed MaxColorAttachments. In practice this should not ever happen because DiscardFramebufferEXT specifies only GL_COLOR_ATTACHMENT0 to be valid and InvalidateFramebuffer will error out before but this should make coverity happy. v2: const, remove _EXT (Ian) CID: 1442559 Fixes: 0c42b5f3cb9 "mesa: wire up InvalidateFramebuffer" Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (cherry picked from commit 9762a9f89380a8070654a80e73d927297c29da35)
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions