On 03/01/2013 09:57:40 AM, Tom Rini wrote:
On Thu, Feb 28, 2013 at 07:37:51PM -0600, Scott Wood wrote:
> >+ * @param lim maximum size that length may be in
order to not
> >+ * exceed the buffer
>
> s/that length may be/that actual may be/
No? We check that the requested length to something will fit even if
the
caller doesn't care to know what actual is.
What I mean is that we're not saying "if (length > lim) error". We
compute the actual, and if the actual exceeds "lim", then there's an
error.
-Scott
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot