diff options
author | Henri Roosen <henriroosen@gmail.com> | 2021-03-08 15:57:10 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-03-22 01:24:01 +0100 |
commit | 1709a628dfc8983f7718e978676cafc3c0399a70 (patch) | |
tree | 0710ff4f4b103ac257ba2fcbab6c2533f3ed5b10 /misc-utils/doc_loadbios.c | |
parent | e91700286ff531f344f4d9a1f1c96c501bfeadad (diff) |
mkfs.ubifs: Fix runtime assertions when running without crypto
Running mkfs.ubifs which was build without crypto triggered the
following assertion:
mkfs.ubifs: ubifs-utils/mkfs.ubifs/fscrypt.h:166:
inherit_fscrypt_context: Assertion `0' failed.
A previous commit-cc4c5e295f54 ("mkfs.ubifs: Enable support for building
without crypto") added a check for an existing fscrypt context before calling
functions inherit_fscrypt_context() and free_fscrypt_context(),
however did not properly do this for each call to these functions.
Fixes: cc4c5e295f54 ("mkfs.ubifs: Enable support for building without crypto")
Signed-off-by: Henri Roosen <henri.roosen@ginzinger.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'misc-utils/doc_loadbios.c')
0 files changed, 0 insertions, 0 deletions