[EXTERNAL] [PATCH] eventdev: fix dereferencing null atomic locks pointer in test-eventdev

Jerin Jacob jerinj at marvell.com
Tue Apr 1 11:00:27 CEST 2025



> -----Original Message-----
> From: Luka Jankovic <luka.jankovic at ericsson.com>
> Sent: Wednesday, March 26, 2025 3:40 PM
> To: luka.jankovic at ericsson.com
> Cc: Jerin Jacob <jerinj at marvell.com>; dev at dpdk.org
> Subject: [EXTERNAL] [PATCH] eventdev: fix dereferencing null atomic locks
> pointer in test-eventdev
> 
> Update atomic_init_locks to immediately return if memory allocation fails.
> Atomic queue and atq tests updated to handle atomic locks being null. Coverity
> issue: 457876 Fixes: 9d619f82321b ("app/eventdev: introduce atomic tests")
> Signed-off-by: 
> Update atomic_init_locks to immediately return if memory allocation fails.
> Atomic queue and atq tests updated to handle atomic locks being null.
> 
> Coverity issue: 457876
> Fixes: 9d619f82321b ("app/eventdev: introduce atomic tests")
> 
> Signed-off-by: Luka Jankovic <luka.jankovic at ericsson.com>


Please check the git history of the file to know the starting tag.

Updated the git commit as follows and applied to dpdk-next-net-eventdev/for-main. Thanks


    app/eventdev: fix dereferencing null

    Update atomic_init_locks to immediately return if memory allocation
    fails.
    Atomic queue and ATQ tests updated to handle atomic locks being NULL

    Coverity issue: 457876
    Fixes: 9d619f82321b ("app/eventdev: introduce atomic tests")
    Cc: stable at dpdk.org

    Signed-off-by: Luka Jankovic <luka.jankovic at ericsson.com>


More information about the dev mailing list