pan/bifrost: Avoid buffer overflow in disassembler
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 21 Aug 2019 16:02:40 +0000 (09:02 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 21 Aug 2019 17:38:31 +0000 (10:38 -0700)
commitcda0ec67e6a615c10ac75e7345c8982637526d8c
treef7b90bb190dcfd5034d4f0b158e55c3a3144a0b3
parent9ce45ac808e34bced2df346057beb8ab10313a87
pan/bifrost: Avoid buffer overflow in disassembler

This path shouldn't be possible for in-spec shaders, but let's be
defensive. (Because security, right? Mostly because Coverity.)

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/bifrost/disassemble.c