Message ID | 1380281221-2116-2-git-send-email-thomas.wood@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/edid-decode.c b/edid-decode.c index 3830e0c..b710bb5 100644 --- a/edid-decode.c +++ b/edid-decode.c @@ -711,7 +711,7 @@ cea_video_block(unsigned char *x) int i; int length = x[0] & 0x1f; - for (i = 1; i < length; i++) { + for (i = 1; i <= length; i++) { unsigned char vic = x[i] & 0x7f; unsigned char native = x[i] & 0x80; const char *mode;
Signed-off-by: Thomas Wood <thomas.wood@intel.com> --- edid-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)