winebuild: Don't segfault when running without arguments

Dmitry Timoshkov dmitry at codeweavers.com
Mon Sep 6 22:02:19 CDT 2010


André Hentschel <nerv at dawncrow.de> wrote:

> -    if (!spec->dll_name)  /* set default name from file name */
> +    if (!spec->dll_name && spec->dll_name)  /* set default name from file name */
>      {
>          char *p;
>          spec->dll_name = xstrdup( spec->file_name );

Did you intend to check for spec->file_name?

-- 
Dmitry.



More information about the wine-devel mailing list