commit | b28c69dd3d563676db079a678a2deabf37461fbf | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Aug 21 23:06:06 2016 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Sep 20 14:25:39 2016 +0200 |
tree | 5042c64082bd131f1ead5e54d681862c9e994e09 | |
parent | 4532b241a4b7b0ca372a80baf900ce4ea2015412 [diff] |
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: Heinrich Schuchardt <xypron.glpk@gmx.de> Message-id: 1471813566-5324-1-git-send-email-xypron.glpk@gmx.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>