DescriptionIn _mesa_add_parameter, in prog_parameter.c, |values| represents an
array holding a variable number of values. These values get copied out
of the array 4 at a time with the COPY_4V macro, however, the array
might only contain a single element. In this case, ASAN reports a
read-before-initialize because the last 3 of the 4 elements haven't
been written to yet.
This patch should be upstreamed to Mesa.
BUG=238755
NOTRY=true
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Messages
Total messages: 6 (0 generated)
|