I'm probably wrong but it looks as if the following patch is
  necessary.

         Loïc
Index: libbb/lineedit.c
===================================================================
--- libbb/lineedit.c	(revision 20088)
+++ libbb/lineedit.c	(working copy)
@@ -1314,7 +1314,7 @@
 			/* If we enter read_line_input for the Nth time,
 			 * they may be already allocated! Need to free. */
 			free(user_buf);
-			if (home_pwd_buf != null_str);
+			if (home_pwd_buf != null_str)
 				free(home_pwd_buf);
 			user_buf = xstrdup(entry->pw_name);
 			home_pwd_buf = xstrdup(entry->pw_dir);
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to