From 9672f127fdb9d98309f48b14148beb3bdd50ad6e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 4 Sep 2021 19:04:50 +0200 Subject: videp/ps3eye: fix buffer overflow --- video-ps3eye/shm-layout.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video-ps3eye') diff --git a/video-ps3eye/shm-layout.hpp b/video-ps3eye/shm-layout.hpp index 8c770d43..9eee6db4 100644 --- a/video-ps3eye/shm-layout.hpp +++ b/video-ps3eye/shm-layout.hpp @@ -3,7 +3,7 @@ namespace ps3eye { -static constexpr unsigned num_channels = 1; +static constexpr unsigned num_channels = 3; struct shm_in { enum class mode : uint8_t { qvga, vga, }; -- cgit v1.2.3