Make QueryServiceConfigW return an empty string for empty dependencies

James Hawkins truiken at gmail.com
Thu Mar 3 21:39:36 CST 2005


On Fri, 4 Mar 2005 13:54:34 +1100, Troy Rollo <wine at troy.rollo.name> wrote:
> QueryServiceConfigW currently returns a NULL pointer for lpDependencies when
> there are no dependencies. The documentation states that an empty string has
> the same meaning, and at least one application (an MSIEXEC.EXE from the
> Office XP CD) will SEGV if this is NULL. Using the empty string avoids this.
> 
> ChangeLog:
>  Return an empty string for service dependencies when there are no
>  dependencies, rather than a NULL pointer, which causes some apps
>  to SEGV.

Can you write test cases for this behaviour?  

-- 
James Hawkins



More information about the wine-devel mailing list