Re: [PATCH] Fix a segfault when stage2= boot parameter and kickstart url method is used (#524417).

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

 



> diff --git a/loader/urlinstall.c b/loader/urlinstall.c
> index 150800e..9c16043 100644
> --- a/loader/urlinstall.c
> +++ b/loader/urlinstall.c
> @@ -463,9 +463,10 @@ void setKickstartUrl(struct loaderData_s * loaderData, int argc,
>      }
>  
>      /* determine install type */
> -    if (strstr(url, "http://";) || strstr(url, "ftp://";))
> +    if (strstr(url, "http://";) || strstr(url, "ftp://";)) {
>  	loaderData->method = METHOD_URL;
> -    else {
> +	loaderData->stage2Data = NULL;
> +    } else {
>          newtWinMessage(_("Kickstart Error"), _("OK"),
>                         _("Unknown Url method %s"), url);
>          return;

What happens if I boot with:

   linux ks=http://wherever/whatever.ks stage2=http://wherever/install.img

- Chris

_______________________________________________
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