diff options
| author | MichelleJin <[email protected]> | 2021-09-27 03:34:57 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2021-09-27 10:00:34 +0000 |
| commit | 111461d573741c17eafad029ac93474fa9adcce0 (patch) | |
| tree | b543ca397a347e10a4e42eac77f04280c395b793 /net/unix/af_unix.c | |
| parent | mac80211: fix use-after-free in CCMP/GCMP RX (diff) | |
| download | kernel-111461d573741c17eafad029ac93474fa9adcce0.tar.gz kernel-111461d573741c17eafad029ac93474fa9adcce0.zip | |
mac80211: check return value of rhashtable_init
When rhashtable_init() fails, it returns -EINVAL.
However, since error return value of rhashtable_init is not checked,
it can cause use of uninitialized pointers.
So, fix unhandled errors of rhashtable_init.
Signed-off-by: MichelleJin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
