Revert "UBIFS: Fix potential integer overflow in allocation"
authorRichard Weinberger <richard@nod.at>
Sun, 1 Jul 2018 21:20:50 +0000 (23:20 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 14 Aug 2018 22:25:20 +0000 (00:25 +0200)
commit08acbdd6fd736b90f8d725da5a0de4de2dd6de62
treee75dbf01113fb74f4c88793924f8e720ccb037d7
parent49d2e05fb474718804cd3d1ec1e07213ecffc040
Revert "UBIFS: Fix potential integer overflow in allocation"

This reverts commit 353748a359f1821ee934afc579cf04572406b420.
It bypassed the linux-mtd review process and fixes the issue not as it
should.

Cc: Kees Cook <keescook@chromium.org>
Cc: Silvio Cesare <silvio.cesare@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/journal.c