Re: [U-Boot] [PATCH V2 02/21] imximage: check dcd_len as entries added

2012-09-25 Thread Stefano Babic
On 24/09/2012 22:54, Troy Kisky wrote: > It is a fix, but for a bug that has never happened. Right, but anyway it is a fix ;-) > So I think it is > very low priority. > But I can reorder the patches so that this is the 1st in the series, in > case > the other patches are never accepted. The rea

Re: [U-Boot] [PATCH V2 02/21] imximage: check dcd_len as entries added

2012-09-24 Thread Troy Kisky
On 9/23/2012 4:05 AM, Stefano Babic wrote: On 22/09/2012 04:38, Troy Kisky wrote: Before the len was checked after the entire file was processed, so it could have already overflowed. Hi Troy, Signed-off-by: Troy Kisky --- tools/imximage.c | 26 +++--- 1 file changed

Re: [U-Boot] [PATCH V2 02/21] imximage: check dcd_len as entries added

2012-09-23 Thread Stefano Babic
On 22/09/2012 04:38, Troy Kisky wrote: > Before the len was checked after the entire file > was processed, so it could have already overflowed. > Hi Troy, > Signed-off-by: Troy Kisky > --- > tools/imximage.c | 26 +++--- > 1 file changed, 11 insertions(+), 15 deletions(-)