Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 15:39:21 -0400
From:      Nicholas Mills <nlmills@g.clemson.edu>
To:        freebsd-stable@freebsd.org
Subject:   Fwd: Sysinstall crashes in 8.1-BETA1
Message-ID:  <AANLkTinlPwDLi2fX30-fcHl_AJjZU-wiiSt8_2OrVKkY@mail.gmail.com>
In-Reply-To: <AANLkTilq15LnWSrhn8JI7qGdfvb1bWLbvNZI9J3D7CGE@mail.gmail.com>
References:  <AANLkTilq15LnWSrhn8JI7qGdfvb1bWLbvNZI9J3D7CGE@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinlPwDLi2fX30-fcHl_AJjZU-wiiSt8_2OrVKkY>