<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">On Sun, Mar 21, 2021 at 5:13 PM Christian Mauderer <<a href="mailto:oss@c-mauderer.de">oss@c-mauderer.de</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Gedare and Niteesh,<br>
<br>
I pushed the patch on master and 5.<br>
<br>
Niteesh: Thanks for finding and fixing that bug.<br></blockquote><div><span class="gmail_default" style="font-size:small">Thanks for pushing this and Beagle patches.</span></div><div><span class="gmail_default" style="font-size:small"><br></span></div><div><span class="gmail_default" style="font-size:small">Thank you,</span></div><div><span class="gmail_default" style="font-size:small">Niteesh</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Best regards<br>
<br>
Christian<br>
<br>
On 21/03/2021 08:04, Niteesh G. S. wrote:<br>
> <br>
> <br>
> On Sat, Mar 20, 2021 at 11:39 AM Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a> <br>
> <mailto:<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>>> wrote:<br>
> <br>
> This looks good to me. Is the bug also on 5? If so, a ticket should be<br>
> opened and a patch filed for 5.2.<br>
> <br>
> This bug is also present in 5.<br>
> I have filed a ticket for this <a href="https://devel.rtems.org/ticket/4350" rel="noreferrer" target="_blank">https://devel.rtems.org/ticket/4350</a> <br>
> <<a href="https://devel.rtems.org/ticket/4350" rel="noreferrer" target="_blank">https://devel.rtems.org/ticket/4350</a>><br>
> <br>
> If someone cares to push this please go ahead. I wouldn't get to it<br>
> until next week sometime. Niteesh, ping it on Tuesday if no one has<br>
> pushed.<br>
> <br>
> OK<br>
> <br>
> <br>
> On Wed, Mar 17, 2021 at 8:51 PM G S Niteesh Babu<br>
> <<a href="mailto:niteesh.gs@gmail.com" target="_blank">niteesh.gs@gmail.com</a> <mailto:<a href="mailto:niteesh.gs@gmail.com" target="_blank">niteesh.gs@gmail.com</a>>> wrote:<br>
> ><br>
> > The while loop, loops infinitely in case of raw FDT data.<br>
> > The loop condition (size) is not modified during iterations.<br>
> > ---<br>
> > cpukit/libmisc/rtems-fdt/rtems-fdt.c | 2 +-<br>
> > 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> ><br>
> > diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt.c<br>
> b/cpukit/libmisc/rtems-fdt/rtems-fdt.c<br>
> > index 0ea365314f..7747ba9bf8 100644<br>
> > --- a/cpukit/libmisc/rtems-fdt/rtems-fdt.c<br>
> > +++ b/cpukit/libmisc/rtems-fdt/rtems-fdt.c<br>
> > @@ -580,7 +580,7 @@ rtems_fdt_load (const char* filename,<br>
> rtems_fdt_handle* handle)<br>
> > close (bf);<br>
> > return -RTEMS_FDT_ERR_READ_FAIL;<br>
> > }<br>
> > - r -= size;<br>
> > + size -= r;<br>
> > buf += r;<br>
> > }<br>
> > }<br>
> > --<br>
> > 2.17.1<br>
> ><br>
> > _______________________________________________<br>
> > devel mailing list<br>
> > <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a> <mailto:<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a>><br>
> > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> <<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a>><br>
> <br>
> <br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> <br>
</blockquote></div></div>