diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch')
-rw-r--r-- | import-layers/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch b/import-layers/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch index 0a986ae5d..5b84af2c3 100644 --- a/import-layers/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch +++ b/import-layers/meta-openembedded/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0003-v4l2-ctl-Do-not-use-getsubopt.patch @@ -1,7 +1,7 @@ -From d04aa6866cbea57c4a81b033cd60586a9436ac6b Mon Sep 17 00:00:00 2001 +From f7a4b79b3323534460a63b3e6c58ebaf06adf207 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Fri, 14 Jul 2017 13:20:05 -0700 -Subject: [PATCH 3/3] v4l2-ctl: Do not use getsubopt +Subject: [PATCH] v4l2-ctl: Do not use getsubopt POSIX says that behavior when subopts list is empty is undefined. musl libs will set value to NULL which leads to crash. @@ -9,6 +9,7 @@ musl libs will set value to NULL which leads to crash. Taken from AlpineLinux Signed-off-by: Khem Raj <raj.khem@gmail.com> + --- utils/v4l2-ctl/v4l2-ctl-common.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) @@ -44,6 +45,3 @@ index 3ea6cd3..291fb3e 100644 } void common_cmd(int ch, char *optarg) --- -2.13.3 - |