Skip to content
Commit 5ce6a750 authored by Luca Burelli's avatar Luca Burelli Committed by Alberto Escolar
Browse files

llext: add explicit cast to fix Coverity CID: 392507

From https://mails.dpdk.org/archives/dev/2021-December/231212.html

:

    Downcasting a void* to struct aesni_gcm_session* caused the session
    data to be treated as tainted. Removing the void* temporary variable
    and adding a cast avoids this issue.

Try the same approach here to prevent the ldr->sect_hdrs pointer from
being treated as tainted.

May fix #74817.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent 05f8b9c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment