diff options
| author | Haoxiang Li <[email protected]> | 2025-07-03 09:52:32 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-07-21 17:31:09 +0000 |
| commit | 4ff12d82dac119b4b99b5a78b5af3bf2474c0a36 (patch) | |
| tree | 5a433299602d76bb1ad93008852d6c138aea8e7b /rust/helpers/platform.c | |
| parent | i40e: When removing VF MAC filters, only check PF-set MAC (diff) | |
| download | kernel-4ff12d82dac119b4b99b5a78b5af3bf2474c0a36.tar.gz kernel-4ff12d82dac119b4b99b5a78b5af3bf2474c0a36.zip | |
ice: Fix a null pointer dereference in ice_copy_and_init_pkg()
Add check for the return value of devm_kmemdup()
to prevent potential null pointer dereference.
Fixes: c76488109616 ("ice: Implement Dynamic Device Personalization (DDP) download")
Cc: [email protected]
Signed-off-by: Haoxiang Li <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
