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

Skip to content
Commit b28c69dd authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Gerd Hoffmann
Browse files

virtio-gpu: avoid possible NULL pointer dereference



If output is NULL it is not permissable to dereference it.
So we should leave the respective function in this case.

The inconsistency was indicated by cppcheck.
No actual NULL pointer dereference was observed.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Message-id: 1471813566-5324-1-git-send-email-xypron.glpk@gmx.de
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 4532b241
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