Re: [PATCH] Don't sigsegv on stage2= derived from invalid repo= parameter.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since I'm not at all familiar with loader's workflow,
someone else should probably also have a look at this, too.

>From my point of view, this fix looks good. Thanks!

On 03/03/2010 04:44 PM, Radek Vykydal wrote:
> ---
>  loader/loader.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/loader/loader.c b/loader/loader.c
> index 265fa85..58b3ea8 100644
> --- a/loader/loader.c
> +++ b/loader/loader.c
> @@ -1252,7 +1252,9 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
>               * path that's at the end of it.
>               */
>              loaderData->inferredStage2 = 1;
> -            skipMethodDialog = 1;
> +            if (loaderData->method != -1) {
> +                skipMethodDialog = 1;
> +            }
>          } else if (loaderData->stage2Data) {
>              skipMethodDialog = 1;
>          }

Steffen

Linux on System z Development

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux