projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d16ea
)
ecore-drm: Fix issue of edid parsing not ignoring string
author
Chris Michael
<cp.michael@samsung.com>
Tue, 12 May 2015 15:51:01 +0000
(11:51 -0400)
committer
Chris Michael
<cp.michael@samsung.com>
Tue, 12 May 2015 16:07:31 +0000
(12:07 -0400)
Summary: When we are parsing the edid string, if the string is random
junk, then we need to ignore it. Prior to this commit, we were not
setting the returned text properly.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_output.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_output.c
b/src/lib/ecore_drm/ecore_drm_output.c
index
a76a8ec
..
0d4ace3
100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_output.c
+++ b/
src/lib/ecore_drm/ecore_drm_output.c
@@
-100,7
+100,7
@@
_ecore_drm_output_edid_parse_string(const uint8_t *data, char text[])
}
}
- if (rep > 4) text[
i
] = '\0';
+ if (rep > 4) text[
0
] = '\0';
}
static int