Re: [PATCH] mtd/redboot: avoid null pointer deref

2017-01-02 Thread Marek Vasut
On 12/22/2016 12:25 AM, Jason A. Donenfeld wrote: > By giving a bogus partition name, it's possible to trigger a null > pointer dereference. > > Signed-off-by: Jason A. Donenfeld Nice catch. It'd be great to have the condition which can be used to trigger this problem in the commit message. I pr

[PATCH] mtd/redboot: avoid null pointer deref

2016-12-21 Thread Jason A. Donenfeld
By giving a bogus partition name, it's possible to trigger a null pointer dereference. Signed-off-by: Jason A. Donenfeld --- drivers/mtd/redboot.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/redboot.c b/drivers/mtd/redboot.c index 7623ac5fc586..53949ef80d36 100644 --- a/d