[PATCH] ubiupdatevol: make the -t parameter work again

Artem Bityutskiy dedekind at infradead.org
Tue Jan 20 06:33:12 EST 2009


On Tue, 2009-01-20 at 12:25 +0100, Sebastian Andrzej Siewior wrote:
> ping
> 
> * Sebastian Andrzej Siewior | 2008-12-17 11:15:54 [+0100]:
> 
> >From bigeasy at linutronix.de  Wed Dec 17 05:15:54 2008
> >From: bigeasy at linutronix.de (Sebastian Andrzej Siewior)
> >Date: Wed, 17 Dec 2008 11:15:54 +0100
> >Subject: [PATCH] ubiupdatevol: make the -t parameter work again
> >Message-ID: <20081217101554.GA4999 at www.tglx.de>
> >
> >The execution of
> >|./ubiupdatevol /dev/ubi0 -t
> >will fail because 'argv[optind + 1]' is undefined and the later executed
> >'strcmp(args.img, "-")' will segfault.
> >So I can hack around and supply a dummy image or fix it that way.

Pushed, thank you.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list