Commit 271b7a8
[viogpu] Fix EDID ExtensionFlag check
ExtensionFlag is a 1-byte array; checking it as a pointer is always true and can make us assume extensions exist.
Check ExtensionFlag[0] instead so we only parse extension blocks when present.
Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>1 parent bbf82d5 commit 271b7a8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2394 | 2394 | | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | | - | |
| 2397 | + | |
2398 | 2398 | | |
2399 | 2399 | | |
2400 | 2400 | | |
| |||
0 commit comments