projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebd3b86
)
Add the 'Auto' pageflipping command to the verifier. I don't think any
author
Keith Whitwell
<keith@tungstengraphics.com>
Fri, 17 Dec 2004 14:11:05 +0000
(14:11 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Fri, 17 Dec 2004 14:11:05 +0000
(14:11 +0000)
verification is required for the arguments of this packet from a
security point of view.
shared/via_verifier.c
patch
|
blob
|
history
diff --git
a/shared/via_verifier.c
b/shared/via_verifier.c
index
f88c545
..
e29725b
100644
(file)
--- 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:
/*