diff options
author | Sascha Hauer <[email protected]> | 2019-12-04 11:09:58 +0100 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2020-01-16 23:36:07 +0100 |
commit | edec51374bce779f37fc209a228139c55d90ec8d (patch) | |
tree | f8102a5bb8fcbc6cc433d1b95d9b303eb21ca71c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | fc55dacf7fea793e70c9c75a1acff47a4fb02017 (diff) |
ubifs: Fix wrong memory allocation
In create_default_filesystem() when we allocate the idx node we must use
the idx_node_size we calculated just one line before, not tmp, which
contains completely other data.
Fixes: c4de6d7e4319 ("ubifs: Refactor create_default_filesystem()")
Cc: [email protected] # v4.20+
Reported-by: Naga Sureshkumar Relli <[email protected]>
Tested-by: Naga Sureshkumar Relli <[email protected]>
Signed-off-by: Sascha Hauer <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions