Re: [1/5] kernel32: Add more remote process tests.

2013-05-07 Thread Dmitry Timoshkov
Marvin wrote: > === TEST64_W7SP1 (32 bit loader) === > loader.c:1210: Test failed: expected thread exit code 195, got 259 > loader.c:1210: Test failed: expected thread exit code 195, got 259 > loader.c:1220: Test failed: expected WAIT_ABANDONED, got 0x102 > loader.c:1236: Test failed: expected WA

Re: gdi32: Simplify font->aveWidth sanity-checking to remove possible division by zero.

2013-05-07 Thread Dmitry Timoshkov
Sam Edwards wrote: > It makes the most sense to get rid of this sanity check altogether, but > until then, this should be a more robust way of doing it. > + * TODO: This sounds like a workaround for a much deeper bug > involving > + * aveWidth's calculation. We should investiga

Re: [PATCH 3/3] iphlpapi: Implement CancelIPChangeNotify.

2013-05-07 Thread Hans Leidekker
On Tue, 2013-05-07 at 10:04 -0600, Erich E. Hoover wrote: > On Tue, May 7, 2013 at 3:14 AM, Hans Leidekker wrote: > > ... > > TerminateThread is not the right tool here. If the thread is blocked on the > > recv call while being terminated it will leak the netlink socket. > > > > You'd need a way t

Re: [PATCH 1/8] ole32: Use MSHLFLAGS_TABLEWEAK marshaling in CoRegisterClassObject.

2013-05-07 Thread Alexandre Julliard
Jacek Caban writes: > --- > dlls/ole32/compobj.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) It doesn't work here: ../../../tools/runtest -q -P wine -M wscript.exe -T ../../.. -p wscript.exe_test.exe.so run.c && touch run.ok wine: Unhandled page fault on read access to 0x000

Re: [PATCH] msvcrt: fix character/byte confusion in buffer overflow branch

2013-05-07 Thread Juan Lang
On Tue, May 7, 2013 at 9:10 AM, Piotr Caban wrote: > On 05/07/13 17:46, Juan Lang wrote: > >> In general, I think you want to send this to wine-patches, not here. >> > This patch was also sent to wine-patches. > > On Mon, May 6, 2013 at 12:26 PM, Max Kellermann > > wrote

Re: [PATCH] dlls/gdi32/freetype.c: A better divide by zero fix, report bad fonts.

2013-05-07 Thread Max TenEyck Woodbury
On 05/07/2013 08:15 AM, Sam Edwards wrote: On 05/06/2013 03:05 PM, Max TenEyck Woodbury wrote: Just to make this clear, the most recent version of this patch is such a graceful handling, right? I haven't worked on gdi32/freetype.c much, so I wouldn't be the one to say for sure (you should prob

Re: [PATCH] msvcrt: fix character/byte confusion in buffer overflow branch

2013-05-07 Thread Piotr Caban
On 05/07/13 17:46, Juan Lang wrote: In general, I think you want to send this to wine-patches, not here. This patch was also sent to wine-patches. On Mon, May 6, 2013 at 12:26 PM, Max Kellermann mailto:m...@duempel.org>> wrote: --- dlls/msvcrt/printf.h |2 +- 1 file changed

Re: [PATCH 3/3] iphlpapi: Implement CancelIPChangeNotify.

2013-05-07 Thread Erich E. Hoover
On Tue, May 7, 2013 at 3:14 AM, Hans Leidekker wrote: > ... > TerminateThread is not the right tool here. If the thread is blocked on the > recv call while being terminated it will leak the netlink socket. > > You'd need a way to synchronize the threads, but an overhead of one thread per > caller

Re: [PATCH] msvcrt: fix character/byte confusion in buffer overflow branch

2013-05-07 Thread Juan Lang
In general, I think you want to send this to wine-patches, not here. On Mon, May 6, 2013 at 12:26 PM, Max Kellermann wrote: > The first memcpy() call in puts_clbk_str_w() confuses character count > and byte count. It uses the number of characters (out->len) as number > of bytes. This leaves ha

Re: user32: Implement IMR_QUERYCHARPOSITION handling in the edit control

2013-05-07 Thread Dmitry Timoshkov
Aric Stewart wrote: > >> dlls/user32/edit.c | 21 + > >> include/imm.h | 9 + > >> 2 files changed, 30 insertions(+) > > > > Using usual 4 spaces indentation would slightly improve the readability. > > > Maybe, but I always to match the styling of the surro

Re: user32: Implement IMR_QUERYCHARPOSITION handling in the edit control

2013-05-07 Thread Aric Stewart
On 5/7/13 8:15 AM, Dmitry Timoshkov wrote: > Aric Stewart wrote: > >> dlls/user32/edit.c | 21 + >> include/imm.h | 9 + >> 2 files changed, 30 insertions(+) > > Using usual 4 spaces indentation would slightly improve the readability. > Maybe, but I always

Re: user32: Implement IMR_QUERYCHARPOSITION handling in the edit control

2013-05-07 Thread Dmitry Timoshkov
Aric Stewart wrote: > dlls/user32/edit.c | 21 + > include/imm.h | 9 + > 2 files changed, 30 insertions(+) Using usual 4 spaces indentation would slightly improve the readability. -- Dmitry.

Re: [PATCH 6/8] ieframe: Added more InternetExplorer object tests.

2013-05-07 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=25463 Your paranoid android

Re: [PATCH] dlls/gdi32/freetype.c: A better divide by zero fix, report bad fonts.

2013-05-07 Thread Sam Edwards
On 05/06/2013 03:05 PM, Max TenEyck Woodbury wrote: Just to make this clear, the most recent version of this patch is such a graceful handling, right? I haven't worked on gdi32/freetype.c much, so I wouldn't be the one to say for sure (you should probably talk to Alexandre Julliard, Dmitry Ti

[PATCH] msvcrt: fix character/byte confusion in buffer overflow branch

2013-05-07 Thread Max Kellermann
The first memcpy() call in puts_clbk_str_w() confuses character count and byte count. It uses the number of characters (out->len) as number of bytes. This leaves half of the buffer undefined. Interestingly, the second memcpy() call in the same function is correct. This bug potentially makes app

Re: [PATCH 3/3] iphlpapi: Implement CancelIPChangeNotify.

2013-05-07 Thread Hans Leidekker
On Mon, 2013-05-06 at 19:23 -0600, Erich E. Hoover wrote: > --- a/dlls/iphlpapi/iphlpapi_main.c > +++ b/dlls/iphlpapi/iphlpapi_main.c > @@ -210,8 +210,14 @@ DWORD WINAPI > AllocateAndGetIpAddrTableFromStack(PMIB_IPADDRTABLE *ppIpAddrTable, > */ > BOOL WINAPI CancelIPChangeNotify(LPOVERLAPPED ov