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

Bug#177162: segmentation fault



Package: anna
Version: 0.020
Severity: grave
Tags: patch

anna has a segmentation fault after the "Choose modules to install."
question:

 Choose modules to install.
 ...
 Prompt 1 - 36, q to end> q
 Segmentation fault

It mangles a linked list.  The appended patch fixes it (and yes, this
patch actually works).

Matt

--- debian-installer/anna/anna.c.orig	2003-01-15 12:30:27.000000000 -0800
+++ debian-installer/anna/anna.c	2003-01-17 08:44:27.000000000 -0800
@@ -149,6 +149,7 @@
 	packages = di_pkg_toposort_list(packages);
 
 	/* And finally (bleh), remove virtual and installed packages again */
+	prev = NULL;
 	for (node = packages->head; node != NULL; node = next)
 	{
 		next = node->next;



Reply to: