KERNEL: PeekNamedPipe must check for zero-length buffer as well as for NULL buffer

Alex Villaci­s Lasso a_villacis at palosanto.com
Tue Mar 22 13:01:55 CST 2005


Jakob Eriksson escribió:

> Alex Villaci­s Lasso wrote:
>
>>
>> Changelog:
>> * PeekNamedPipe now checks both for a NULL buffer and a zero-length 
>> buffer before trying to recv() from the pipe
>
>
> Could you write a regression test?
>
>
>
> regards,
> Jakob
>
No problem. Here it is. It requires, of course, that the previous patch 
is already installed in order to succeed.

Alex Villacís Lasso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-kernel-PeekNamedPipe-no-zero-read-test.patch
Type: text/x-patch
Size: 767 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050322/88b947e2/wine-kernel-PeekNamedPipe-no-zero-read-test.bin


More information about the wine-patches mailing list