summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/find.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-04-01 15:00:44 +0200
committerRichard Weinberger <richard@nod.at>2019-05-07 21:58:23 +0200
commite9cd7dfd7ef939394436ef6d03ff156e587ba39e (patch)
tree8cad233acdc777d4ff8e9cdebf75b6d0ee57e28e /fs/ubifs/find.c
parentubifs: work around high stack usage with clang (diff)
downloadlinux-e9cd7dfd7ef939394436ef6d03ff156e587ba39e.tar.xz
linux-e9cd7dfd7ef939394436ef6d03ff156e587ba39e.zip
ubifs: Do not skip hash checking in data nodes
UBIFS bails out early from try_read_node() when it doesn't have to check the CRC. Still the node hash has to be checked, otherwise wrong data could be sneaked into the FS. Fix this by not bailing out early and always checking the node hash. Fixes: 16a26b20d2af ("ubifs: authentication: Add hashes to index nodes") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/find.c')
0 files changed, 0 insertions, 0 deletions