Displaying 3 results from an estimated 3 matches for "electrf".
Did you mean:
electr
2015 Aug 27
2
gallium state tracker calls calloc for 0 sizes arrays ?
Hi All,
While debugging: https://bugzilla.redhat.com/show_bug.cgi?id=1008089
I made a apitrace recording of the a single slide transition
animation, and since I suspected memory corruption replayed
it using ElectrFence + glretrace, this finds a 0 sized array
allocation at src/mesa/state_tracker/st_glsl_to_tgsi.cpp: 5565:
if (proginfo->Parameters) {
t->constants = (struct ureg_src *)
calloc(proginfo->Parameters->NumParameters, sizeof(t->constants[0]));
And if I protect the...
2015 Aug 27
2
[Mesa-dev] gallium state tracker calls calloc for 0 sizes arrays ?
...oede at redhat.com> wrote:
>> Hi All,
>>
>> While debugging: https://bugzilla.redhat.com/show_bug.cgi?id=1008089
>>
>> I made a apitrace recording of the a single slide transition
>> animation, and since I suspected memory corruption replayed
>> it using ElectrFence + glretrace, this finds a 0 sized array
>> allocation at src/mesa/state_tracker/st_glsl_to_tgsi.cpp: 5565:
>>
>> if (proginfo->Parameters) {
>> t->constants = (struct ureg_src *)
>> calloc(proginfo->Parameters->NumParameters,
>&g...
2015 Aug 27
3
[Mesa-dev] gallium state tracker calls calloc for 0 sizes arrays ?
...gt;>>>
>>>> While debugging: https://bugzilla.redhat.com/show_bug.cgi?id=1008089
>>>>
>>>> I made a apitrace recording of the a single slide transition
>>>> animation, and since I suspected memory corruption replayed
>>>> it using ElectrFence + glretrace, this finds a 0 sized array
>>>> allocation at src/mesa/state_tracker/st_glsl_to_tgsi.cpp: 5565:
>>>>
>>>> if (proginfo->Parameters) {
>>>> t->constants = (struct ureg_src *)
>>>> calloc(proginfo-...