<div dir="ltr">Hello,<div><br>What is the current status of this patch, has it been applied?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Alex Deucher <<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>> 于2023年4月19日周三 21:49写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Applied. Thanks!<br>
<br>
Alex<br>
<br>
On Wed, Apr 19, 2023 at 8:24 AM Christian König<br>
<<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> wrote:<br>
><br>
> Am 19.04.23 um 14:20 schrieb hackyzh002:<br>
> > The type of size is unsigned, if size is 0x40000000, there will be an<br>
> > integer overflow, size will be zero after size *= sizeof(uint32_t),<br>
> > will cause uninitialized memory to be referenced later<br>
> ><br>
> > Signed-off-by: hackyzh002 <<a href="mailto:hackyzh002@gmail.com" target="_blank">hackyzh002@gmail.com</a>><br>
><br>
> Reviewed-by: Christian König <<a href="mailto:christian.koenig@amd.com" target="_blank">christian.koenig@amd.com</a>> for the series.<br>
><br>
> > ---<br>
> > drivers/gpu/drm/radeon/radeon_cs.c | 3 ++-<br>
> > 1 file changed, 2 insertions(+), 1 deletion(-)<br>
> ><br>
> > diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c<br>
> > index 46a27ebf4..a6700d727 100644<br>
> > --- a/drivers/gpu/drm/radeon/radeon_cs.c<br>
> > +++ b/drivers/gpu/drm/radeon/radeon_cs.c<br>
> > @@ -270,7 +270,8 @@ int radeon_cs_parser_init(struct radeon_cs_parser *p, void *data)<br>
> > {<br>
> > struct drm_radeon_cs *cs = data;<br>
> > uint64_t *chunk_array_ptr;<br>
> > - unsigned size, i;<br>
> > + u64 size;<br>
> > + unsigned i;<br>
> > u32 ring = RADEON_CS_RING_GFX;<br>
> > s32 priority = 0;<br>
> ><br>
><br>
</blockquote></div>