--- loader/driverdisk.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/loader/driverdisk.c b/loader/driverdisk.c index f718684..074428e 100644 --- a/loader/driverdisk.c +++ b/loader/driverdisk.c @@ -404,6 +404,12 @@ int loadDriverFromMedia(int class, struct loaderData_s *loaderData, char ** part_list = getPartitionsList(device); int nump = 0, num = 0; + /* Do not crash if the device disappeared */ + if(!part_list){ + stage = DEV_DEVICE; + break; + } + if (part != NULL) free(part); if ((nump = lenPartitionsList(part_list)) == 0) { -- 1.6.4.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list