Re: [PATCHv3] cmd/gpt: Address error cases during gpt rename more correctly

2020-01-22 Thread Jordy
Just caught up with all the patches and the final one indeed looks good to me too! Kind Regards, Jordy > On January 22, 2020 2:20 AM Simon Goldschmidt > wrote: > > > On Tue, Jan 21, 2020 at 5:53 PM Tom Rini wrote: > > > > New analysis by the tool has shown that

Re: Double free vulnerability in do_rename_gpt_parts

2020-01-17 Thread Jordy
responses, I've seen that different at other software packages thumbs-up for that! Best Regards, Jordy > On January 17, 2020 11:31 AM Tom Rini wrote: > > > On Fri, Jan 17, 2020 at 04:29:52PM +0100, Simon Goldschmidt wrote: > > + Some contributors of this file > &g

Double free vulnerability in do_rename_gpt_parts

2020-01-17 Thread Jordy
again. Double freeing may result in a write-what-where condition, allowing an attacker to execute arbitrary code. My advice would be to not free the parition_list on line 702 as nothing is being done with it there afterwards anyway and leave your clean_up in the out: label :) Kind Regards, Jordy Zomer

[U-Boot] Vulnerability in UBOOT ping_reveive()

2019-09-30 Thread Jordy
ould control this size it could trigger a straight forward memcpy overflow. To fix it I'd probably just add some boundary checks in ping_receive() so that the amount written doesn't exceed the buffer boundaries. Kind Regards, Jordy Zomer ___

[U-Boot] [PATCH] am335x: NAND: add BCH16 and 4k page size support

2013-01-28 Thread Jordy van Wolferen
This is tested with a custom AM3359 (rev 2.0) board. NAND chip: MT29F16G08ABABAWP This code allows me to boot from ROM code. The ROM code forces BCH16 on NAND chips with a 4k page size. BCH16 is not enabled by default. --- arch/arm/include/asm/arch-am33xx/cpu.h | 8 +- arch/arm/include

Re: [U-Boot] [PATCH] am335x: NAND, add BCH16 and 4k page size support

2013-01-28 Thread Jordy van Wolferen
Please ignore this. This enables BCH16 by default, which shouldn't happen. I'll will fix this and send again On Mon, Jan 28, 2013 at 1:35 PM, Jordy van Wolferen < jordyvanwolfe...@gmail.com> wrote: > --- > arch/arm/include/asm/arch-am33xx/cpu.h | 8 +- >