[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: dlls/kernel32/path.c: Fix return values for UNC pathnames in
From:       Paul Vriens <paul.vriens.wine () gmail ! com>
Date:       2009-11-28 10:16:20
Message-ID: 4B10F874.8020401 () gmail ! com
[Download RAW message or body]

On 11/24/2009 02:41 PM, Alexandre Hardy wrote:
> The MSDN:
>      http://msdn.microsoft.com/en-us/library/aa364980(VS.85).aspx
> states that GetLongPathNameW returns the length of the string
> required to hold the pathname if the buffer is too small to hold
> the path. In the case where the buffer is too small, the filename
> should not be stored in the buffer.
>
> This ensures that the buffer is not written to (for UNC pathnames)
> if the buffer is not large enought to store the path.
>
> Kind regards
> Alexandre
>

Hi Alexandre,

Patches should go to wine-patches unless your asking for some guidance 
or comments.

This one should also be accompanied with some tests.

-- 
Cheers,

Paul.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic