[U-Boot] [PATCH 1/1] flash: Check info pointer in flash_protect().

2010-05-17 Thread Mark Tomlinson
Some calls to flash_protect() do not check that info is not NULL. This change prevents this from causing random memory to be stomped on. --- common/flash.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/common/flash.c b/common/flash.c index eb4b2f5..dc376ee 10064

Re: [U-Boot] [PATCH 1/1] flash: Check info pointer in flash_protect().

2010-05-19 Thread Mike Frysinger
On Tuesday 18 May 2010 01:26:35 Mark Tomlinson wrote: > Some calls to flash_protect() do not check that info is not > NULL. This change prevents this from causing random memory to > be stomped on. > --- any patches need a s-o-b tag before they'll be accepted > NOTICE: This message contains privil

Re: [U-Boot] [PATCH 1/1] flash: Check info pointer in flash_protect().

2010-05-20 Thread Wolfgang Denk
Dear Mark Tomlinson, In message <1274160395-9308-2-git-send-email-mark.tomlin...@alliedtelesis.co.nz> you wrote: > Some calls to flash_protect() do not check that info is not > NULL. This change prevents this from causing random memory to > be stomped on. When exactly would that be the case? >