Skip to content
Commit 4a196570 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Kristian Høgsberg
Browse files

shm: Avoid file descriptor leak upon unsuccessful mmap



It would be possible to make the compositor leak file descriptors by
passing descriptors of open unmmapable files to it, such as /dev/null.

Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
parent c2bba88c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment