Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
5d8f3eac
Commit
5d8f3eac
authored
Oct 22, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ngfd: Avoid a potential buffer overflow detected by GCC 7 in OE rocko
parent
ebd6a18d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
0002-ffmemless-Reserve-enough-space-for-sprintf.patch
...gfd/0002-ffmemless-Reserve-enough-space-for-sprintf.patch
+25
-0
ngfd_git.bb
recipes-nemomobile/ngfd/ngfd_git.bb
+2
-1
No files found.
recipes-nemomobile/ngfd/ngfd/0002-ffmemless-Reserve-enough-space-for-sprintf.patch
0 → 100644
View file @
5d8f3eac
From 2a1623c8b8b99fcd29acf8f555521f7bbdcd2df2 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Sat, 21 Oct 2017 22:13:54 +0200
Subject: [PATCH] ffmemless: Reserve enough space for sprintf
---
src/plugins/ffmemless/ffmemless.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/ffmemless/ffmemless.c b/src/plugins/ffmemless/ffmemless.c
index d92af61..fd3cac0 100644
--- a/src/plugins/ffmemless/ffmemless.c
+++ b/src/plugins/ffmemless/ffmemless.c
@@ -101,7 +101,7 @@
int ffmemless_evdev_file_search(void)
{
int result, i = 0;
int fp = 1;
- char device_file_name[24];
+ char device_file_name[27];
unsigned long features[4];
/* fail safe stop at 256 devices */
--
2.14.2
recipes-nemomobile/ngfd/ngfd_git.bb
View file @
5d8f3eac
...
...
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://git.merproject.org/mer-core/ngfd.git;protocol=https \
file://ngfd.ini \
file://ngfd.service \
file://0001-haptics-Always-vibrate-on-calendar-and-clock-events.patch"
file://0001-haptics-Always-vibrate-on-calendar-and-clock-events.patch \
file://0002-ffmemless-Reserve-enough-space-for-sprintf.patch"
SRCREV = "fbeea2a48bebd3faaac1ee84a144f797ac9006fc"
PR = "r1"
PV = "+git${SRCPV}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment