summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-09-19 14:56:56 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-09-19 19:12:00 +0400
commit7fbbd05799976c0611dcb229649260504b2bdef5 (patch)
treeeaea35d81c4cfcd467d8086da62ab3e099edbe44 /crypto/testmgr.c
parentadfe83be973dc990f3763de3667c4cd004e6e4f7 (diff)
downloadlinux-7fbbd05799976c0611dcb229649260504b2bdef5.tar.xz
UBI: return on error in rename_volumes()
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. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions