Tag: 5bccd60852fc0a5ccc1980c10266896df99b8bda

[media] V4L: omap1_camera: fix use after free

Author: Mathias Krause <minipli@googlemail.com> Even though clk_put() is a no-op on most architectures it is not for some ARM implementations. To not fail on those, release the clock timer before freeing the surrounding structure. This bug was spotted by the semantic patch tool coccinelle using the script found at scripts/coccinelle/free/kfree.cocci. More information about semantic patching …

Lire la suite