summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-12-17 14:11:05 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-12-17 14:11:05 +0000
commiteaaf0a5211883608e2e698cde04bcb0da4c4a4ee (patch)
treeefabf118fa7b817c2b337f80ccff212e20b69360
parentebd3b867deed789bd4b3fe98f88c20a9454f0061 (diff)
Add the 'Auto' pageflipping command to the verifier. I don't think any
verification is required for the arguments of this packet from a security point of view.
-rw-r--r--shared/via_verifier.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/via_verifier.c b/shared/via_verifier.c
index f88c5451..e29725bf 100644
--- a/shared/via_verifier.c
+++ b/shared/via_verifier.c
@@ -549,6 +549,10 @@ via_check_header2( uint32_t const **buffer, const uint32_t *buf_end )
case (HC_ParaType_Tex | (HC_SubType_TexGeneral << 8)):
hz_table = table3;
break;
+ case HC_ParaType_Auto:
+ buf += 2;
+ *buffer = buf;
+ return state_command;
default:
/*