Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 19318de1 authored by Christian Engelmayer's avatar Christian Engelmayer Committed by Dmitry Torokhov
Browse files

Input: ims-pcu - fix uninitialized use of 'error' in ims_pcu_buffers_alloc()



In case allocation via usb_alloc_coherent() fails in ims_pcu_buffers_alloc(),
the function jumps to the exit path without initializing local variable
'error' that is used as return value. Detected by Coverity - CID 1016531.

Signed-off-by: default avatarChristian Engelmayer <cengelma@gmx.at>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 90550e6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment