diff options
author | Bjorn Andersson <[email protected]> | 2018-09-19 18:09:38 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-09-30 08:49:55 -0700 |
commit | 7012040576c6ae25a47035659ee48673612c2c27 (patch) | |
tree | 8d41b67afe239bb628767af1e7f73770e72e114e /lib/string_helpers.c | |
parent | 492ecf6d6598e7c3b0b1372653ed21da50ddfb09 (diff) |
firmware: Always initialize the fw_priv list object
When freeing the fw_priv the item is taken off the list. This causes an
oops in the FW_OPT_NOCACHE case as the list object is not initialized.
Make sure to initialize the list object regardless of this flag.
Fixes: 422b3db2a503 ("firmware: Fix security issue with request_firmware_into_buf()")
Cc: [email protected]
Cc: Rishabh Bhatnagar <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions