[patch] UBI: return on error in rename_volumes()
Artem Bityutskiy
dedekind1 at gmail.com
Fri Sep 19 08:15:21 PDT 2014
On Fri, 2014-09-19 at 13:56 +0300, Dan Carpenter wrote:
> I noticed this during a code review. We are checking that the strlen()
> of ->name is not less than the ->name_len which the user gave us. I
> believe this bug is harmless but clearly we meant to return here instead
> of setting an error code and then not using it.
Pushed to linux-ubifs.git, thanks!
--
Best Regards,
Artem Bityutskiy
More information about the linux-mtd
mailing list