stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=40945aa10c9fb276be711972784757c3c798f545

commit 40945aa10c9fb276be711972784757c3c798f545
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Apr 7 11:22:54 2015 -0400

    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.mich...@samsung.com>
---
 src/lib/ecore_drm/ecore_drm_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 77fd734..e118ca8 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -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 

-- 


Reply via email to