Yes, you are right. New patch is in attachment.
thanks.
在 2020-08-28 01:14:02,"Tom St Denis" 写道:
isn't a better fix to simply delete the line? The print seems redundant to me.
Tom
On Thu, Aug 27, 2020 at 9:2
0001-Fix-a-array-bound-overflow-bug-in-function-umr_clock.patch
Description: Binary data
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Hi:
The function umr_pm4_decode_ring_is_halted call umr_read_ring_data
to get ringdata, umr_read_ring_data will alloc memory to store ring
data and return the memory pointer to umr_pm4_decode_ring_is_halted, So
the memory should be free in umr_pm4_decode_ring_is_halted.
Tha