projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configs: Migrate CMD_NAND*
[platform/kernel/u-boot.git]
/
common
/
edid.c
diff --git
a/common/edid.c
b/common/edid.c
index
854d40c
..
3d0809a
100644
(file)
--- a/
common/edid.c
+++ b/
common/edid.c
@@
-148,8
+148,8
@@
static bool cea_is_hdmi_vsdb_present(struct edid_cea861_info *info)
/* check for end of data block */
end = info->dtd_offset;
if (end == 0)
- end =
127
;
- if (end < 4 || end >
127
)
+ end =
sizeof(info->data)
;
+ if (end < 4 || end >
sizeof(info->data)
)
return false;
end -= 4;