]> www.infradead.org Git - mtd-utils.git/commit
ubi-utils: various fixes
authorTom Rini <trini@embeddedalley.com>
Mon, 8 Dec 2008 08:02:00 +0000 (01:02 -0700)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 8 Dec 2008 18:45:47 +0000 (20:45 +0200)
commita8c858c45470aa6165acec2b2a3ca156124fdb2e
treef0b7752d5b30d59409b4ac57f77359fcf3ef35c3
parentc7929b71e476729c38895de3db8c1afcfabf5352
ubi-utils: various fixes

gcc-4.3.x introduces a number of new warnings (and we use -Werror) for
things like not checking scanf return values and not using explicit
formatting.  Finally, it caught that we were overflowing our own buffer
in unubi.c, so increate the variable size as we want to declare and
clear PATH_MAX + 1, then use only PATH_MAX of the variable.

Signed-off-by: Tom Rini <trini@embeddedalley.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
ubi-utils/new-utils/src/ubiformat.c
ubi-utils/src/libpfiflash.c
ubi-utils/src/unubi.c