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]

 



Looks ok,

Regards,

Hans


On 09/29/2009 02:00 PM, Radek Vykydal wrote:
---
  loader/urlinstall.c |    5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)

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;

_______________________________________________
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