forked from enlightenment/efl
ecore-drm: Fix issue with edid_parse_string truncating strings
Summary: We should only truncate the string if it's greater than 4 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
ec12d25057
commit
40945aa10c
|
@ -50,7 +50,7 @@ _ecore_drm_output_edid_parse_string(const uint8_t *data, char text[])
|
|||
}
|
||||
}
|
||||
|
||||
if (rep > 0) text[i] = '\0';
|
||||
if (rep > 4) text[i] = '\0';
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue