On 14 June 2017 at 15:21, Christian König <deathsim...@vodafone.de> wrote: > Am 14.06.2017 um 15:40 schrieb Namburu, Chandu-babu: >> From: Chandu Babu N <cha...@amd.com> >> >> As encode support is added along with decode, >> now max_entrypoints are two. >> vaMaxNumEntrypoints will return correct value. >> >> Signed-off-by: Chandu Babu N <cha...@amd.com> > > Reviewed-by: Christian König <christian.koe...@amd.com> > Gents, can you please add a "Fixes: $sha ..." or "Cc: mesa-stable.." tag.
Having a quick look - seems like the vaQueryConfigEntrypoints() callback does not honour the num_entrypoints argument, hence prior to this commit we'll be causing memory corruption. We might want to add an assert/check or two to prevent this in the future? -Emil P.S. Christian, can I bribe you to use plain text emails - formatting goes crazy when trying to reply :-\ _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev