summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2008-06-19 18:20:52 -0400
committerAlex Deucher <alex@botch2.com>2008-06-19 18:22:16 -0400
commitef624b88903b1a87ef5b6388e18291f75776b93d (patch)
treeede494c6e726777f7523b888c9c79e5a5cb886ab
parentcfe814a481d8cf2005d738a0ca9782f1ed4177f5 (diff)
RADEON: fix read past the end of an array
-rw-r--r--src/radeon_output.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 72addefb..1f289cb2 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -74,12 +74,13 @@ const RADEONMonitorType MonTypeID[10] = {
MT_DP
};
-const char *TMDSTypeName[5] = {
+const char *TMDSTypeName[6] = {
"None",
"Internal",
"External",
"LVTMA",
- "DDIA"
+ "DDIA",
+ "UNIPHY"
};
const char *DACTypeName[4] = {