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

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

 



---
 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;
         }
-- 
1.6.0.6

_______________________________________________
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