diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-13 21:46:24 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-07-24 13:32:56 +0300 |
commit | a6ea440769e11c46828cddd20f91ab57261701d5 (patch) | |
tree | 19994608d2721de6484310c60e4a3ff1414cb1ef /drivers/mtd/ubi/gluebi.c | |
parent | a5bf6190417cbbf80443a9f71c65b653e13e9982 (diff) | |
download | linux-stable-a6ea440769e11c46828cddd20f91ab57261701d5.tar.gz linux-stable-a6ea440769e11c46828cddd20f91ab57261701d5.tar.bz2 linux-stable-a6ea440769e11c46828cddd20f91ab57261701d5.zip |
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: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/gluebi.c')
0 files changed, 0 insertions, 0 deletions