winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
June 2006
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
854 discussions
Start a n
N
ew thread
Robert Shearman : rpcrt4: Pass in a maximum variance value to ReadVariance to allow us
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: 8dea3c2aa866bb3f5e24d12b43712c524e8b8fa8 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=8dea3c2aa866bb3f5e24d12…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Sat Jun 10 12:32:47 2006 +0100 rpcrt4: Pass in a maximum variance value to ReadVariance to allow us to validate the conformance values being read from the wire. --- dlls/rpcrt4/ndr_marshall.c | 40 +++++++++++++++++++--------------------- 1 files changed, 19 insertions(+), 21 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 58bcd25..50d3871 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -332,7 +332,7 @@ static PFORMAT_STRING ReadConformance(MI return pFormat+4; } -static inline PFORMAT_STRING ReadVariance(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat) +static inline PFORMAT_STRING ReadVariance(MIDL_STUB_MESSAGE *pStubMsg, PFORMAT_STRING pFormat, ULONG MaxValue) { if (pFormat && !IsConformanceOrVariancePresent(pFormat)) { @@ -349,6 +349,15 @@ static inline PFORMAT_STRING ReadVarianc pStubMsg->Buffer += 4; TRACE("variance is %ld\n", pStubMsg->ActualCount); + if ((pStubMsg->ActualCount > MaxValue) || + (pStubMsg->ActualCount + pStubMsg->Offset > MaxValue)) + { + ERR("invalid array bound(s): ActualCount = %ld, Offset = %ld, MaxValue = %ld\n", + pStubMsg->ActualCount, pStubMsg->Offset, MaxValue); + RpcRaiseException(RPC_S_INVALID_BOUND); + return NULL; + } + done: if (pStubMsg->fHasNewCorrDesc) return pFormat+6; @@ -675,7 +684,7 @@ unsigned char *WINAPI NdrConformantStrin assert(pFormat && ppMemory && pStubMsg); ReadConformance(pStubMsg, NULL); - ReadVariance(pStubMsg, NULL); + ReadVariance(pStubMsg, NULL, pStubMsg->MaxCount); if (*pFormat == RPC_FC_C_CSTRING) esize = 1; else if (*pFormat == RPC_FC_C_WSTRING) esize = 2; @@ -2365,11 +2374,12 @@ unsigned char* WINAPI NdrConformantVaryi } pFormat = ReadConformance(pStubMsg, pFormat+4); - pFormat = ReadVariance(pStubMsg, pFormat); + pFormat = ReadVariance(pStubMsg, pFormat, pStubMsg->MaxCount); ALIGN_POINTER(pStubMsg->Buffer, alignment); bufsize = safe_multiply(esize, pStubMsg->ActualCount); + TRACE("esize = %ld, pStubMsg->MaxCount = %ld, result = %ld\n", esize, pStubMsg->MaxCount, esize * pStubMsg->MaxCount); memsize = safe_multiply(esize, pStubMsg->MaxCount); if (!*ppMemory || fMustAlloc) @@ -2525,7 +2535,7 @@ unsigned char * WINAPI NdrComplexArrayUn pFormat += 4; pFormat = ReadConformance(pStubMsg, pFormat); - pFormat = ReadVariance(pStubMsg, pFormat); + pFormat = ReadVariance(pStubMsg, pFormat, pStubMsg->MaxCount); Buffer = pStubMsg->Buffer; esize = ComplexStructMemorySize(pStubMsg, pFormat); @@ -2618,7 +2628,7 @@ unsigned long WINAPI NdrComplexArrayMemo pFormat += 4; pFormat = ReadConformance(pStubMsg, pFormat); - pFormat = ReadVariance(pStubMsg, pFormat); + pFormat = ReadVariance(pStubMsg, pFormat, pStubMsg->MaxCount); ALIGN_POINTER(pStubMsg->Buffer, alignment); @@ -3199,7 +3209,7 @@ unsigned char * WINAPI NdrConformantVar memcpy(*ppMemory, pStubMsg->Buffer, pCVStructFormat->memory_size); pStubMsg->Buffer += pCVStructFormat->memory_size; - pCVArrayFormat = ReadVariance(pStubMsg, pCVArrayFormat); + pCVArrayFormat = ReadVariance(pStubMsg, pCVArrayFormat, pStubMsg->MaxCount); bufsize = safe_multiply(esize, pStubMsg->ActualCount); @@ -3366,7 +3376,7 @@ unsigned long WINAPI NdrConformantVaryin TRACE("memory_size = %d\n", pCVStructFormat->memory_size); pStubMsg->Buffer += pCVStructFormat->memory_size; - pCVArrayFormat = ReadVariance(pStubMsg, pCVArrayFormat); + pCVArrayFormat = ReadVariance(pStubMsg, pCVArrayFormat, pStubMsg->MaxCount); pStubMsg->Buffer += pCVStructFormat->memory_size + safe_multiply(esize, pStubMsg->ActualCount); pStubMsg->MemorySize += pCVStructFormat->memory_size + safe_multiply(esize, pStubMsg->MaxCount); @@ -3757,13 +3767,7 @@ unsigned char * WINAPI NdrVaryingArrayU esize = *(const WORD*)pFormat; pFormat += sizeof(WORD); - pFormat = ReadVariance(pStubMsg, pFormat); - if ((pStubMsg->ActualCount > elements) || - (pStubMsg->ActualCount + pStubMsg->Offset > elements)) - { - RpcRaiseException(RPC_S_INVALID_BOUND); - return NULL; - } + pFormat = ReadVariance(pStubMsg, pFormat, elements); ALIGN_POINTER(pStubMsg->Buffer, alignment); @@ -3877,13 +3881,7 @@ unsigned long WINAPI NdrVaryingArrayMemo esize = *(const WORD*)pFormat; pFormat += sizeof(WORD); - pFormat = ReadVariance(pStubMsg, pFormat); - if ((pStubMsg->ActualCount > elements) || - (pStubMsg->ActualCount + pStubMsg->Offset > elements)) - { - RpcRaiseException(RPC_S_INVALID_BOUND); - return 0; - } + pFormat = ReadVariance(pStubMsg, pFormat, elements); ALIGN_POINTER(pStubMsg->Buffer, alignment);
1
0
0
0
Robert Shearman : rpcrt4: Check that strings are null-terminated on unmarshaling of conformant-varying structs .
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: 613ee6d01c2bcea446c1792ef57a18afbbe0a8a4 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=613ee6d01c2bcea446c1792…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Sat Jun 10 12:32:35 2006 +0100 rpcrt4: Check that strings are null-terminated on unmarshaling of conformant-varying structs. --- dlls/rpcrt4/ndr_marshall.c | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 26d430b..58bcd25 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -3202,6 +3202,28 @@ unsigned char * WINAPI NdrConformantVar pCVArrayFormat = ReadVariance(pStubMsg, pCVArrayFormat); bufsize = safe_multiply(esize, pStubMsg->ActualCount); + + if ((cvarray_type == RPC_FC_C_CSTRING) || + (cvarray_type == RPC_FC_C_WSTRING)) + { + ULONG i; + /* strings must always have null terminating bytes */ + if (bufsize < esize) + { + ERR("invalid string length of %ld\n", pStubMsg->ActualCount); + RpcRaiseException(RPC_S_INVALID_BOUND); + return NULL; + } + for (i = bufsize - esize; i < bufsize; i++) + if (pStubMsg->Buffer[i] != 0) + { + ERR("string not null-terminated at byte position %ld, data is 0x%x\n", + i, pStubMsg->Buffer[i]); + RpcRaiseException(RPC_S_INVALID_BOUND); + return NULL; + } + } + /* copy the array data */ memcpy(*ppMemory + pCVStructFormat->memory_size, pStubMsg->Buffer, bufsize);
1
0
0
0
Robert Shearman : rpcrt4: Use safe_multiply when multiplying anything by pStubMsg-> ActualCount or pStubMsg->MaxCount.
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: a946eb420bc6c987c6072f3c24439737eb57224b URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=a946eb420bc6c987c6072f3…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Sat Jun 10 12:32:24 2006 +0100 rpcrt4: Use safe_multiply when multiplying anything by pStubMsg->ActualCount or pStubMsg->MaxCount. --- dlls/rpcrt4/ndr_marshall.c | 88 +++++++++++++++++++++++++++----------------- 1 files changed, 54 insertions(+), 34 deletions(-) Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=a946eb420bc6c987c60…
1
0
0
0
Robert Shearman : rpcrt4: Raise an exception during unmarshaling if a conformant string isn' t null-terminated.
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: cec6092aa293469f18431e2d5158b88df4b0c98a URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=cec6092aa293469f18431e2…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Sat Jun 10 12:32:01 2006 +0100 rpcrt4: Raise an exception during unmarshaling if a conformant string isn't null-terminated. --- dlls/rpcrt4/ndr_marshall.c | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 8fbb61f..2990f16 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -667,7 +667,7 @@ unsigned long WINAPI NdrConformantString unsigned char *WINAPI NdrConformantStringUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ) { - unsigned long size, esize; + ULONG size, esize, i; TRACE("(pStubMsg == ^%p, *pMemory == ^%p, pFormat == ^%p, fMustAlloc == %u)\n", pStubMsg, *ppMemory, pFormat, fMustAlloc); @@ -687,6 +687,22 @@ unsigned char *WINAPI NdrConformantStrin size = safe_multiply(esize, pStubMsg->ActualCount); + /* strings must always have null terminating bytes */ + if (size < esize) + { + ERR("invalid string length of %ld\n", pStubMsg->ActualCount); + RpcRaiseException(RPC_S_INVALID_BOUND); + return NULL; + } + for (i = size - esize; i < size; i++) + if (pStubMsg->Buffer[i] != 0) + { + ERR("string not null-terminated at byte position %ld, data is 0x%x\n", + i, pStubMsg->Buffer[i]); + RpcRaiseException(RPC_S_INVALID_BOUND); + return NULL; + } + if (fMustAlloc || !*ppMemory) *ppMemory = NdrAllocate(pStubMsg, size);
1
0
0
0
Robert Shearman : rpcrt4: Introduce a new function, safe_multiply, which will raise an
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: 6e95bfe85a0b7c1f0591ea436c391ef930a8d7dd URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=6e95bfe85a0b7c1f0591ea4…
Author: Robert Shearman <rob(a)codeweavers.com> Date: Sat Jun 10 12:31:45 2006 +0100 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. --- dlls/rpcrt4/ndr_marshall.c | 48 +++++++++++++++++++++++++++++++++----------- 1 files changed, 36 insertions(+), 12 deletions(-) diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 6143c0c..8fbb61f 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -518,6 +518,19 @@ finish_conf: return pFormat+4; } +/* multiply two numbers together, raising an RPC_S_INVALID_BOUND exception if + * the result overflows 32-bits */ +static ULONG inline safe_multiply(ULONG a, ULONG b) +{ + ULONGLONG ret = (ULONGLONG)a * b; + if (ret > 0xffffffff) + { + RpcRaiseException(RPC_S_INVALID_BOUND); + return 0; + } + return ret; +} + /* * NdrConformantString: @@ -542,7 +555,7 @@ finish_conf: unsigned char *WINAPI NdrConformantStringMarshall(MIDL_STUB_MESSAGE *pStubMsg, unsigned char *pszMessage, PFORMAT_STRING pFormat) { - unsigned long esize; + ULONG esize, size; TRACE("(pStubMsg == ^%p, pszMessage == ^%p, pFormat == ^%p)\n", pStubMsg, pszMessage, pFormat); @@ -570,8 +583,9 @@ unsigned char *WINAPI NdrConformantStrin WriteConformance(pStubMsg); WriteVariance(pStubMsg); - memcpy(pStubMsg->Buffer, pszMessage, pStubMsg->ActualCount*esize); /* the string itself */ - pStubMsg->Buffer += pStubMsg->ActualCount*esize; + size = safe_multiply(esize, pStubMsg->ActualCount); + memcpy(pStubMsg->Buffer, pszMessage, size); /* the string itself */ + pStubMsg->Buffer += size; STD_OVERFLOW_CHECK(pStubMsg); @@ -585,25 +599,35 @@ unsigned char *WINAPI NdrConformantStrin void WINAPI NdrConformantStringBufferSize(PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat) { + ULONG esize; + TRACE("(pStubMsg == ^%p, pMemory == ^%p, pFormat == ^%p)\n", pStubMsg, pMemory, pFormat); SizeConformance(pStubMsg); SizeVariance(pStubMsg); if (*pFormat == RPC_FC_C_CSTRING) { - /* we need + 1 octet for '\0' */ TRACE("string=%s\n", debugstr_a((char*)pMemory)); - pStubMsg->BufferLength += strlen((char*)pMemory) + 1; + pStubMsg->ActualCount = strlen((char*)pMemory)+1; + esize = 1; } else if (*pFormat == RPC_FC_C_WSTRING) { - /* we need + 2 octets for L'\0' */ TRACE("string=%s\n", debugstr_w((LPWSTR)pMemory)); - pStubMsg->BufferLength += strlenW((LPWSTR)pMemory)*2 + 2; + pStubMsg->ActualCount = strlenW((LPWSTR)pMemory)+1; + esize = 2; } else { ERR("Unhandled string type: %#x\n", *pFormat); /* FIXME: raise an exception */ + return; } + + if (pFormat[1] == RPC_FC_STRING_SIZED) + pFormat = ComputeConformance(pStubMsg, pMemory, pFormat + 2, 0); + else + pStubMsg->MaxCount = pStubMsg->ActualCount; + + pStubMsg->BufferLength += safe_multiply(esize, pStubMsg->ActualCount); } /************************************************************************ @@ -643,7 +667,7 @@ unsigned long WINAPI NdrConformantString unsigned char *WINAPI NdrConformantStringUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ) { - unsigned long len, esize; + unsigned long size, esize; TRACE("(pStubMsg == ^%p, *pMemory == ^%p, pFormat == ^%p, fMustAlloc == %u)\n", pStubMsg, *ppMemory, pFormat, fMustAlloc); @@ -661,14 +685,14 @@ unsigned char *WINAPI NdrConformantStrin esize = 0; } - len = pStubMsg->ActualCount; + size = safe_multiply(esize, pStubMsg->ActualCount); if (fMustAlloc || !*ppMemory) - *ppMemory = NdrAllocate(pStubMsg, len*esize); + *ppMemory = NdrAllocate(pStubMsg, size); - memcpy(*ppMemory, pStubMsg->Buffer, len*esize); + memcpy(*ppMemory, pStubMsg->Buffer, size); - pStubMsg->Buffer += len*esize; + pStubMsg->Buffer += size; if (*pFormat == RPC_FC_C_CSTRING) { TRACE("string=%s\n", debugstr_a((char*)*ppMemory));
1
0
0
0
Alexandre Julliard : uuid: Mark all GUID variables as hidden.
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: 236fd51020548e5b3d804ab19484d7d2a1d005c3 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=236fd51020548e5b3d804ab…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 12 12:01:38 2006 +0200 uuid: Mark all GUID variables as hidden. --- dlls/uuid/uuid.c | 1 + include/guiddef.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c index 21b0ee1..2b30313 100644 --- a/dlls/uuid/uuid.c +++ b/dlls/uuid/uuid.c @@ -21,6 +21,7 @@ #include <stdarg.h> +#include "windef.h" #define COM_NO_WINDOWS_H #include "initguid.h" diff --git a/include/guiddef.h b/include/guiddef.h index 749a37c..8ad314e 100644 --- a/include/guiddef.h +++ b/include/guiddef.h @@ -32,16 +32,18 @@ #undef DEFINE_GUID #ifdef INITGUID #ifdef __cplusplus #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN; \ EXTERN_C const GUID name = \ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } #else #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + const GUID name DECLSPEC_HIDDEN; \ const GUID name = \ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } #endif #else #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ - EXTERN_C const GUID name + EXTERN_C const GUID name DECLSPEC_HIDDEN #endif #define DEFINE_OLEGUID(name, l, w1, w2) \
1
0
0
0
Alexandre Julliard : dnsapi: DnsExtractRecordsFromMessage_A is not exported .
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: d74b280e95c4e43cf35539218576e8e6c3a821f1 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=d74b280e95c4e43cf355392…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 12 12:01:06 2006 +0200 dnsapi: DnsExtractRecordsFromMessage_A is not exported. --- dlls/dnsapi/main.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c index cb134d5..faa9cc0 100644 --- a/dlls/dnsapi/main.c +++ b/dlls/dnsapi/main.c @@ -99,19 +99,6 @@ void WINAPI DnsReleaseContextHandle( HAN } /****************************************************************************** - * DnsExtractRecordsFromMessage_A [DNSAPI.@] - * - */ -DNS_STATUS WINAPI DnsExtractRecordsFromMessage_A( PDNS_MESSAGE_BUFFER buffer, - WORD len, PDNS_RECORDA *record ) -{ - FIXME( "(%p,%d,%p) stub\n", buffer, len, record ); - - *record = NULL; - return ERROR_SUCCESS; -} - -/****************************************************************************** * DnsExtractRecordsFromMessage_UTF8 [DNSAPI.@] * */
1
0
0
0
Alexandre Julliard : advapi32: Added spec entry for GetEffectiveRightsFromAclW.
by Alexandre Julliard
12 Jun '06
12 Jun '06
Module: wine Branch: refs/heads/master Commit: ce49817bc52a1a9414c9462bab1de08360429093 URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=ce49817bc52a1a9414c9462…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 12 11:58:41 2006 +0200 advapi32: Added spec entry for GetEffectiveRightsFromAclW. --- dlls/advapi32/advapi32.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index f9285ca..7e6880e 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -235,7 +235,7 @@ # @ stub GetAuditedPermissionsFromAclW @ stdcall GetCurrentHwProfileA(ptr) @ stdcall GetCurrentHwProfileW(ptr) @ stdcall GetEffectiveRightsFromAclA(ptr ptr ptr) -# @ stub GetEffectiveRightsFromAclW +@ stdcall GetEffectiveRightsFromAclW(ptr ptr ptr) # @ stub GetEventLogInformation @ stdcall GetExplicitEntriesFromAclA(ptr ptr ptr) @ stdcall GetExplicitEntriesFromAclW(ptr ptr ptr)
1
0
0
0
lostwages/ news/2006061101.xml wwn/wn20060611_ ...
by WineHQ
12 Jun '06
12 Jun '06
ChangeSet ID: 25579 CVSROOT: /opt/cvs-commit Module name: lostwages Changes by: wineowner(a)winehq.org 2006/06/12 00:36:38 Added files: news : 2006061101.xml wwn : wn20060611_316.xml Log message: WWN #316 Patch:
http://cvs.winehq.org/patch.py?id=25579
Old revision New revision Changes Path Added 1.1 +0 -0 lostwages/news/2006061101.xml Added 1.1 +0 -0 lostwages/wwn/wn20060611_316.xml
1
0
0
0
Alexandre Julliard : wined3d: Make all the local shader functions static.
by Alexandre Julliard
10 Jun '06
10 Jun '06
Module: wine Branch: refs/heads/master Commit: dbfb3739aa1b7f81625814e0434fc4b67a49b08d URL:
http://source.winehq.org/git/?p=wine.git;a=commit;h=dbfb3739aa1b7f81625814e…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Sat Jun 10 13:22:27 2006 +0200 wined3d: Make all the local shader functions static. --- dlls/wined3d/glsl_shader.c | 14 +-- dlls/wined3d/pixelshader.c | 220 ++++++++++++++++++++++--------------------- dlls/wined3d/vertexshader.c | 130 ++++++++++++------------- 3 files changed, 180 insertions(+), 184 deletions(-) Diff:
http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=dbfb3739aa1b7f81625…
1
0
0
0
← Newer
1
...
55
56
57
58
59
60
61
...
86
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Results per page:
10
25
50
100
200