diff options
author | Alexey Khoroshilov | 2017-05-02 13:47:53 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz | 2017-05-02 13:47:53 +0200 |
commit | dc85e9a87420613b3129d5cc5ecd79c58351c546 (patch) | |
tree | 74ef6a2b546bb5fd315c260c2b41764daebbfaa1 /samples/bpf | |
parent | video: fbdev: udlfb: Fix buffer on stack (diff) | |
download | kernel-qcow2-linux-dc85e9a87420613b3129d5cc5ecd79c58351c546.tar.gz kernel-qcow2-linux-dc85e9a87420613b3129d5cc5ecd79c58351c546.tar.xz kernel-qcow2-linux-dc85e9a87420613b3129d5cc5ecd79c58351c546.zip |
sm501fb: don't return zero on failure path in sm501fb_start()
If fbmem iomemory mapping failed, sm501fb_start() breaks off
initialization, deallocates resources, but returns zero.
As a result, double deallocation can happen in sm501fb_stop().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions