diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-04-14 19:24:02 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-04-14 19:24:02 -0400 |
commit | b15d25b2c6b950bfc844ee626870c84f46f21082 (patch) | |
tree | ece361e3a1a6621b3722587802f35d3213c7d616 | |
parent | d1f26106925f64907a8e4a26ab7678f5b3e8b6ca (diff) |
Require a length specification for lists in reply structures.
-rw-r--r-- | src/glx.xml | 100 | ||||
-rw-r--r-- | src/randr.xml | 4 | ||||
-rw-r--r-- | src/record.xml | 7 | ||||
-rw-r--r-- | src/xfixes.xml | 4 | ||||
-rw-r--r-- | src/xvmc.xml | 12 |
5 files changed, 105 insertions, 22 deletions
diff --git a/src/glx.xml b/src/glx.xml index ae5c0ac..5fedb7b 100644 --- a/src/glx.xml +++ b/src/glx.xml @@ -252,7 +252,9 @@ The patch that fixed this server bug in X.org CVS is here: <field type="CARD32" name="num_visuals" /> <field type="CARD32" name="num_properties" /> <pad bytes="16" /> - <list type="CARD32" name="property_list" /> + <list type="CARD32" name="property_list"> + <fieldref>length</fieldref> + </list> </reply> </request> @@ -281,7 +283,12 @@ The patch that fixed this server bug in X.org CVS is here: <list type="BYTE" name="data1"> <value>24</value> </list> - <list type="BYTE" name="data2" /> + <list type="BYTE" name="data2"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -332,7 +339,9 @@ The patch that fixed this server bug in X.org CVS is here: value-mask-name="value_mask" value-list-name="value_list" /> --> - <list type="CARD32" name="property_list" /> + <list type="CARD32" name="property_list"> + <fieldref>length</fieldref> + </list> </reply> </request> @@ -552,7 +561,12 @@ The patch that fixed this server bug in X.org CVS is here: <reply> <pad bytes="1" /> <pad bytes="24" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -583,7 +597,12 @@ The patch that fixed this server bug in X.org CVS is here: <reply> <pad bytes="1" /> <pad bytes="24" /> - <list type="FLOAT64" name="data" /> + <list type="FLOAT64" name="data"> + <op op="/"> + <fieldref>length</fieldref> + <value>2</value> + </op> + </list> </reply> </request> @@ -803,7 +822,12 @@ The patch that fixed this server bug in X.org CVS is here: <reply> <pad bytes="1" /> <pad bytes="24" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -916,7 +940,12 @@ The patch that fixed this server bug in X.org CVS is here: <field type="INT32" name="height" /> <field type="INT32" name="depth" /> <pad bytes="4" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1010,7 +1039,12 @@ The patch that fixed this server bug in X.org CVS is here: <pad bytes="1" /> <field type="BOOL32" name="ret_val" /> <pad bytes="20" /> - <list type="BOOL" name="data" /> + <list type="BOOL" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1028,7 +1062,9 @@ The patch that fixed this server bug in X.org CVS is here: <reply> <pad bytes="1" /> <pad bytes="24" /> - <list type="CARD32" name="data" /> + <list type="CARD32" name="data"> + <fieldref>length</fieldref> + </list> </reply> </request> @@ -1052,7 +1088,12 @@ The patch that fixed this server bug in X.org CVS is here: <pad bytes="8" /> <field type="INT32" name="width" /> <pad bytes="12" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1100,7 +1141,12 @@ The patch that fixed this server bug in X.org CVS is here: <field type="INT32" name="width" /> <field type="INT32" name="height" /> <pad bytes="8" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1149,7 +1195,12 @@ The patch that fixed this server bug in X.org CVS is here: <field type="INT32" name="row_w" /> <field type="INT32" name="col_h" /> <pad bytes="8" /> - <list type="BYTE" name="rows_and_cols" /> + <list type="BYTE" name="rows_and_cols"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1165,7 +1216,12 @@ The patch that fixed this server bug in X.org CVS is here: <pad bytes="8" /> <field type="INT32" name="width" /> <pad bytes="12" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1212,7 +1268,12 @@ The patch that fixed this server bug in X.org CVS is here: <reply> <pad bytes="1" /> <pad bytes="24" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1268,7 +1329,12 @@ The patch that fixed this server bug in X.org CVS is here: <pad bytes="8" /> <field type="INT32" name="size" /> <pad bytes="12" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> @@ -1292,7 +1358,9 @@ The patch that fixed this server bug in X.org CVS is here: <reply> <pad bytes="1" /> <pad bytes="24" /> - <list type="CARD32" name="data" /> + <list type="CARD32" name="data"> + <fieldref>length</fieldref> + </list> </reply> </request> diff --git a/src/randr.xml b/src/randr.xml index 352b1e1..de552e7 100644 --- a/src/randr.xml +++ b/src/randr.xml @@ -284,7 +284,9 @@ authorization from the authors. <field type="BOOL" name="range" /> <field type="BOOL" name="immutable" /> <pad bytes="21" /> - <list type="INT32" name="validValues" /> + <list type="INT32" name="validValues"> + <fieldref>length</fieldref> + </list> </reply> </request> diff --git a/src/record.xml b/src/record.xml index 624d122..74c16fe 100644 --- a/src/record.xml +++ b/src/record.xml @@ -158,7 +158,12 @@ authorization from the authors. <field type="CARD32" name="server_time" /> <field type="CARD32" name="rec_sequence_num" /> <pad bytes="8" /> - <list type="BYTE" name="data" /> + <list type="BYTE" name="data"> + <op op="*"> + <fieldref>length</fieldref> + <value>4</value> + </op> + </list> </reply> </request> diff --git a/src/xfixes.xml b/src/xfixes.xml index 203c2a8..65b3c30 100644 --- a/src/xfixes.xml +++ b/src/xfixes.xml @@ -224,7 +224,9 @@ authorization from the authors. <pad bytes="1" /> <field type="RECTANGLE" name="extents" /> <pad bytes="16" /> - <list type="RECTANGLE" name="rectangles" /> + <list type="RECTANGLE" name="rectangles"> + <fieldref>length</fieldref> + </list> </reply> </request> diff --git a/src/xvmc.xml b/src/xvmc.xml index ecfafea..ac80003 100644 --- a/src/xvmc.xml +++ b/src/xvmc.xml @@ -78,7 +78,9 @@ authorization from the authors. <field type="CARD16" name="height_actual" /> <field type="CARD32" name="flags_return" /> <pad bytes="20" /> - <list type="CARD32" name="priv_data" /> + <list type="CARD32" name="priv_data"> + <fieldref>length</fieldref> + </list> </reply> </request> @@ -92,7 +94,9 @@ authorization from the authors. <reply> <pad bytes="1" /> <pad bytes="24" /> - <list type="CARD32" name="priv_data" /> + <list type="CARD32" name="priv_data"> + <fieldref>length</fieldref> + </list> </reply> </request> @@ -116,7 +120,9 @@ authorization from the authors. <value>4</value> </list> <pad bytes="12" /> - <list type="CARD32" name="priv_data" /> + <list type="CARD32" name="priv_data"> + <fieldref>length</fieldref> + </list> </reply> </request> |