看板 FB_stable 關於我們 聯絡資訊
--0016e68deb5791fc6a0489531c99 Content-Type: text/plain; charset=ISO-8859-1 Verified to exist in 8.1-RC1. Submitted as PR 147980. ---------- Forwarded message ---------- From: Nicholas Mills <nlmills@g.clemson.edu> Date: Sat, Jun 5, 2010 at 9:01 PM Subject: Sysinstall crashes in 8.1-BETA1 To: randi@freebsd.org Hello, I found and patched a bug in sysinstall(8). My system is running GENERIC 8.1-BETA1 on i386. Initial install went well, but after the system booted I wanted to add some other distributions. However, every time I attempted to connect to an ftp server sysinstall would crash and dump core. I traced the problem down to some uninitialized variables in tcpip.c:tcpDeviceSelect. Attached is my patch. Thanks, Nick Mills nlmills@g.clemson.edu --0016e68deb5791fc6a0489531c99 Content-Type: application/octet-stream; name="tcpip.patch" Content-Disposition: attachment; filename="tcpip.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ga35yhos0 LS0tIHRjcGlwLmMub2xkCTIwMTAtMDYtMDUgMjA6MTk6MjguMDAwMDAwMDAwIC0wNDAwCisrKyB0 Y3BpcC5jCTIwMTAtMDYtMDUgMjA6MTk6MTEuMDAwMDAwMDAwIC0wNDAwCkBAIC03MzIsNiArNzMy LDkgQEAKIAlyZXR1cm4gKE5VTEwpOwogICAgIH0KIAorICAgIGRldnMgPSBkZXZpY2VGaW5kKE5V TEwsIERFVklDRV9UWVBFX05FVFdPUkspOworICAgIGNudCA9IGRldmljZUNvdW50KGRldnMpOyAK KwogICAgIGlmICgoIVJ1bm5pbmdBc0luaXQpICYmICh2YXJpYWJsZV9jaGVjaygiTkVUV09SS19D T05GSUdVUkVEPU5PIikgIT0gVFJVRSkpIHsKIAlpZiAoIW1zZ1llc05vKCJSdW5uaW5nIG11bHRp LXVzZXIsIGFzc3VtZSB0aGF0IHRoZSBuZXR3b3JrIGlzIGFscmVhZHkgY29uZmlndXJlZD8iKSkK IAkgICAgcmV0dXJuIGRldnNbMF07Cg== --0016e68deb5791fc6a0489531c99 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --0016e68deb5791fc6a0489531c99--