Commit graph

27805 commits

Author SHA1 Message Date
Mike McCormack
a21f9e5587 msi: Freeing the zero handle always succeeds. 2006-06-12 13:21:47 +02:00
Mike McCormack
15d302c313 msi: Always initialize MsiViewFetch's returned record to zero. 2006-06-12 13:21:47 +02:00
H. Verbeet
3a91a4a274 d3d9: Make some test functions static. 2006-06-12 13:21:47 +02:00
H. Verbeet
142a62be74 d3d8: Make some test functions static. 2006-06-12 13:21:47 +02:00
Dmitry Timoshkov
a87a153587 msvcrt: Print exception code in hex. 2006-06-12 13:21:47 +02:00
Jason Green
d822496dee wined3d: Map D3DSIO_DEF to it's GLSL generating function for vertex shaders. 2006-06-12 13:21:46 +02:00
Robert Shearman
1c04d9ab20 rpcrt4: Add an exception handler for CStdStubBuffer_Invoke.
This is needed because IRpcStubBuffer::Invoke should not allow RPC
exceptions to be passed to the caller.
2006-06-12 13:21:46 +02:00
Robert Shearman
35982d72f5 rpcrt4: Initialise pStubMsg->MemorySize to zero before calling
ComplexStructMemorySize from NdrComplexArrayUnmarshall.
2006-06-12 13:21:46 +02:00
Robert Shearman
539b48bff4 rpcrt4: Use safe_mutiply in conformant array functions. 2006-06-12 13:21:46 +02:00
Robert Shearman
8dea3c2aa8 rpcrt4: Pass in a maximum variance value to ReadVariance to allow us
to validate the conformance values being read from the wire.
2006-06-12 13:21:46 +02:00
Robert Shearman
613ee6d01c rpcrt4: Check that strings are null-terminated on unmarshaling of conformant-varying structs. 2006-06-12 13:21:46 +02:00
Robert Shearman
a946eb420b rpcrt4: Use safe_multiply when multiplying anything by pStubMsg->ActualCount or pStubMsg->MaxCount. 2006-06-12 13:21:46 +02:00
Robert Shearman
cec6092aa2 rpcrt4: Raise an exception during unmarshaling if a conformant string isn't null-terminated. 2006-06-12 13:21:46 +02:00
Robert Shearman
6e95bfe85a rpcrt4: Introduce a new function, safe_multiply, which will raise an
exception if a multiply overflows a 4-byte integer.

This will protect the unmarshaling code against attacks specifying a 
large variance.
Use this new function in the conformant string functions to harden them 
against attack.
2006-06-12 13:20:30 +02:00
Alexandre Julliard
236fd51020 uuid: Mark all GUID variables as hidden. 2006-06-12 12:01:38 +02:00
Alexandre Julliard
d74b280e95 dnsapi: DnsExtractRecordsFromMessage_A is not exported. 2006-06-12 12:01:06 +02:00
Alexandre Julliard
ce49817bc5 advapi32: Added spec entry for GetEffectiveRightsFromAclW. 2006-06-12 11:58:41 +02:00
Alexandre Julliard
dbfb3739aa wined3d: Make all the local shader functions static. 2006-06-10 13:22:27 +02:00
Alexandre Julliard
e9cbc66e93 wined3d: Make the virtual table functions static where possible. 2006-06-10 13:15:32 +02:00
Pavel Roskin
6c5eff90d0 winecfg: Recognize all CD and floppy devices listed in Linux devices.txt. 2006-06-10 12:43:50 +02:00
Pavel Roskin
34d9d5a346 winecfg: Allow and prefer using A: and B: for floppies.
Pass drive type to allocate_letter().  Start search from 'A' for
floppies.
Fix missing parentheses in the DRIVE_MASK_BIT definition.  It's a bug
that is triggered by non-sequential drive allocation.
2006-06-10 12:43:31 +02:00
Jason Green
42dd4653e3 wined3d: Change fog output variable name for GLSL shaders. 2006-06-10 12:43:10 +02:00
Jason Green
e8c97e9421 wined3d: Fix regression from register maps switch for ARB shaders.
I missed a register mask in the move to share the shader_hw_def()
function between pixel and vertex shaders for ARB shaders.  Fixed
that, and made the GLSL version use the same mask for consistency.
2006-06-10 12:43:02 +02:00
Ivan Gyurdiev
a09c941677 wined3d: Enable CND/CMP for SHADER_ARB. 2006-06-10 12:42:09 +02:00
Ivan Gyurdiev
621f075fb9 wined3d: Print out sampler state names. 2006-06-10 12:41:54 +02:00
Ivan Gyurdiev
d44d0b5edb wined3d: Downgrade Get*Shader FIXME to TRACE. 2006-06-10 12:41:44 +02:00
Detlef Riekenberg
e55b52fdd0 winspool/tests: Tests for GetPrintProcessorDirectory. 2006-06-10 12:41:34 +02:00
Saulius Krasuckas
072c11dc49 advapi32: Test RegSetValueEx[AW] for setting some sequential strings as one. 2006-06-10 12:41:27 +02:00
Alexandre Julliard
9a59ee76e4 msi: Make all the ops structures static and const. 2006-06-10 12:02:39 +02:00
Alexandre Julliard
ba5efc6c76 imagehlp: Remove the unused internal.c file. 2006-06-10 12:02:14 +02:00
Alexandre Julliard
cfc6c4891d oleaut32: Make the virtual table functions static where possible. 2006-06-10 11:59:33 +02:00
Alexandre Julliard
ae525c1441 ole32: Make the virtual table functions static where possible. 2006-06-10 11:59:15 +02:00
Alexandre Julliard
c637fa3cc6 itss: Make the virtual table functions static where possible. 2006-06-10 11:58:27 +02:00
Alexandre Julliard
fa26809f0a dxdiagn: Make the virtual table functions static where possible. 2006-06-10 11:58:14 +02:00
Alexandre Julliard
9d1d5c2aa2 dswave: Make the virtual table functions static where possible. 2006-06-10 11:58:01 +02:00
Alexandre Julliard
bbeeea4b88 dsound: Make the virtual table functions static where possible. 2006-06-10 11:57:48 +02:00
Alexandre Julliard
c44fc329f7 dpnet: Make the virtual table functions static where possible. 2006-06-10 11:57:38 +02:00
Alexandre Julliard
d37c555a48 dmusic: Make the virtual table functions static where possible. 2006-06-10 11:57:22 +02:00
Alexandre Julliard
f6da014c4b dmsynth: Make the virtual table functions static where possible. 2006-06-10 11:57:03 +02:00
Alexandre Julliard
40feb043b1 dmstyle: Make the virtual table functions static where possible. 2006-06-10 11:56:49 +02:00
Alexandre Julliard
06ff754a95 dmscript: Make the virtual table functions static where possible. 2006-06-10 11:56:19 +02:00
Alexandre Julliard
12179978fb dmloader: Make the virtual table functions static where possible. 2006-06-10 11:56:03 +02:00
Alexandre Julliard
4358b4d8e1 dmcompos: Make the virtual table functions static where possible. 2006-06-10 11:55:30 +02:00
Alexandre Julliard
c30d4ecd81 d3d9: Make the virtual table functions static where possible. 2006-06-10 11:51:05 +02:00
Alexandre Julliard
a34074c5db d3dx8: Make the virtual table functions static where possible. 2006-06-10 11:50:26 +02:00
Alexandre Julliard
c3bd09e563 d3d8: Make the virtual table functions static where possible. 2006-06-10 11:48:24 +02:00
Andrew Talbot
02731de430 x11drv: Write-strings warnings fix. 2006-06-09 21:14:05 +02:00
Detlef Riekenberg
94543cb630 winspool: Add GetPrintProcessorDirectoryA. 2006-06-09 21:13:00 +02:00
Robert Shearman
70c34ccc47 oleaut32: We always pass in an IRpcChannelBuffer to IRpcStubBuffer::Invoke now,
so remove the case for it being NULL.
2006-06-09 21:11:32 +02:00
Robert Shearman
c60c28cf08 ole32: If IRpcStubBuffer_Invoke fails, we should raise an exception to
tell the RPC runtime that the call failed.
2006-06-09 21:11:20 +02:00