Avoid any buffer overflows here by checking we don't go over PATH_MAX with stupid module names.
beb97e5 libweston: Make module loading safe against long paths
compositor/main.c | 15 ++++++++++++---
libweston/compositor.c | 15 ++++++++++++---
2 files changed, 24 insertions(+), 6 deletions(-)
Upstream: cgit.freedesktop.org