Skip to content
Commit a6ea4407 authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

UBI: improve mkvol request validation



Check that volume name is not shorter than 'name_len'.

No need to copy the trailing zero byte because whole array
was zeroed earlier.

Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent a5bf6190
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment