setupapi: Don't copy into a NULL PathBuffer, and remove an invalid check for size < MAX_PATH (Coverity 888).

James Hawkins truiken at gmail.com
Mon Mar 23 11:40:25 CDT 2009


On Mon, Mar 23, 2009 at 9:38 AM, Ricardo Filipe
<ricardojdfilipe at gmail.com> wrote:
> i know it's not what it does, it's an alternative someone refered in irc. i
> was wondering what you think would be the correct approach, since both fix
> the problem, the alternative just goes against the msdn documentation, which
> has been refered as not reliable :D
>

Please bottom-post on this mailing list.  My patch is correct except
for what I said earlier, so just take it, remove that bit and resubmit
it.

-- 
James Hawkins



More information about the wine-devel mailing list