Commit Graph

27747 Commits

Author SHA1 Message Date
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
Robert Shearman 3d4e9d6a71 ole32: Register ISequentialStream for marshaling. 2006-06-09 21:11:09 +02:00
Robert Shearman 51e22f42bb ole32: Implement CoQueryClientBlanket, CoImpersonateClient and
CoRevertToSelf on top of CoGetCallContext, which is a stub.
2006-06-09 21:11:02 +02:00
Robert Shearman 42c39675ea ole32: Implement FTMarshalImpl_GetMarshalSizeMax. 2006-06-09 21:10:44 +02:00
Alexandre Julliard b4629addbd shell32: Use the standard DEFINE_GUID macro to define GUIDs. 2006-06-09 21:10:25 +02:00
Alexandre Julliard 49b3837504 riched32: Use the standard DEFINE_GUID macro to define GUIDs. 2006-06-09 21:10:01 +02:00
Alexandre Julliard 32f57b0214 ole32: Use the standard DEFINE_OLEGUID macro to define GUIDs. 2006-06-09 21:09:49 +02:00
Alexandre Julliard 707060913c oleaut32: Use the standard DEFINE_OLEGUID macro to define GUIDs. 2006-06-09 21:09:35 +02:00
Jason Green 08295f4cfc wined3d: GLSL shader cleanup patch.
- Based on comments from H. Verbeet
- Changed the distinction from .rgba & .xyzw masks to only use .xyzw
  in GLSL shaders.  They are interchangeable, and only served to make
  the trace look more intuitive, but they don't always apply as-is, so
  we'll just leave everything to .xyzw.
- Got rid of the "UseProgramObjectARB(0)" call in drawprim.  If there
  is no shader set on the next primitive, then that primitive will
  call UseProgramObjectARB(0) when it begins to draw.
2006-06-09 21:09:03 +02:00