1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/usr.sbin/sysinstall
Ken Smith 327433d2a2 Selecting amd and a few other things in the Networking config section
caused a segfault.  It turns out that in pre-7.0 systems if you do
getenv("amd_enable=YES") it will return the setting of the environment
variable "amd_enable" but now it returns NULL.  I think I found the
places where sysinstall was potentially relying on that old behavior.
Fix is to make a copy of the string to be used for the getenv(3) call,
look for a '=' character in it, and replace it with '\0' if one is
found.  Stuck to sysinstall's typical coding standards despite urges
to do otherwise.

PR:		117642
MFC after:	2 days
2007-10-30 05:03:37 +00:00
..
help Fix a number of documentation-lags-behind-reality bugs in sysinstall(8). 2007-06-25 16:37:17 +00:00
acpi.c Revamp base system packaging of kernels to enable up/smp selection 2006-03-08 18:02:32 +00:00
acpidump.h Revamp base system packaging of kernels to enable up/smp selection 2006-03-08 18:02:32 +00:00
anonFTP.c Create group ftp by default. This is gid 14 as this is the historical 2007-06-11 18:36:39 +00:00
biosmptable.c Make sysinstall's code WARNS=2 clean . 2007-03-23 19:57:27 +00:00
cdrom.c If floppies are used to boot the machine, the user lets the machine 2007-02-22 20:29:53 +00:00
command.c
config.c Selecting amd and a few other things in the Networking config section 2007-10-30 05:03:37 +00:00
devices.c One more s/ethernet/Ethernet/ I missed in the previous revision. 2007-03-19 16:36:34 +00:00
dhcp.c
disks.c When using sysinstall on a running system and editing a disk label 2006-10-08 21:16:00 +00:00
dispatch.c Add `mediaOpen' function. This function mounts selected media device. 2006-01-27 21:00:31 +00:00
dist.c Teach sysinstall about the 'scddl' source dist. 2007-06-28 18:27:29 +00:00
dist.h Teach sysinstall about the 'scddl' source dist. 2007-06-28 18:27:29 +00:00
dmenu.c Selecting amd and a few other things in the Networking config section 2007-10-30 05:03:37 +00:00
doc.c
dos.c
floppy.c
ftp.c MACHINE is changed to "pc98" on FreeBSD/pc98. 2005-12-08 12:43:20 +00:00
globals.c
http.c Fix numerous warnings. Aside from menu items in system.c and menu.c 2006-02-28 21:49:33 +00:00
index.c - Add new virtual category kld 2007-06-28 17:42:20 +00:00
install.c Fix a number of documentation-lags-behind-reality bugs in sysinstall(8). 2007-06-25 16:37:17 +00:00
install.cfg Bring these files up-to-date. 2007-02-18 22:41:41 +00:00
installUpgrade.c Write to slice name instead of directly to the disk device. 2007-06-05 05:44:41 +00:00
keymap.c - Use jp.pc98 as default keymap for pc98. 2006-03-16 15:50:21 +00:00
label.c Increase USR_MIN_SIZE to 160 because it requires more disk space. 2006-11-28 11:48:34 +00:00
list.h
main.c Significantly reduce the memory leak as noted in BUGS section for 2007-07-04 00:00:41 +00:00
Makefile remove WARNS=2: we're not ready for it yet. 2007-03-23 22:09:02 +00:00
media.c Fix numerous warnings. Aside from menu items in system.c and menu.c 2006-02-28 21:49:33 +00:00
menus.c Disconnect the soon-to-be removed installation notes from sysinstall(8) 2007-08-14 02:58:33 +00:00
misc.c Add FreeBSD version information to the menu title so it's possible to 2006-07-15 12:23:56 +00:00
modules.c
mouse.c
msg.c
network.c Actually fix the DHCP handling, by using more robust detection of DHCP 2006-02-09 14:43:42 +00:00
nfs.c
options.c Fix numerous warnings. Aside from menu items in system.c and menu.c 2006-02-28 21:49:33 +00:00
package.c Fix numerous warnings. Aside from menu items in system.c and menu.c 2006-02-28 21:49:33 +00:00
pccard.c
rtermcap.c
sysinstall.8 Fix a number of documentation-lags-behind-reality bugs in sysinstall(8). 2007-06-25 16:37:17 +00:00
sysinstall.h Fix a number of documentation-lags-behind-reality bugs in sysinstall(8). 2007-06-25 16:37:17 +00:00
system.c Fix a number of documentation-lags-behind-reality bugs in sysinstall(8). 2007-06-25 16:37:17 +00:00
tape.c
tcpip.c Tighten IP address check, prevent '..' from being passed 2007-05-17 06:08:42 +00:00
termcap.c Use sizeof() for calculating the buffer size instead of hard-coded values. 2007-03-06 09:32:41 +00:00
ttys.c
ufs.c
user.c Fix numerous warnings. Aside from menu items in system.c and menu.c 2006-02-28 21:49:33 +00:00
variable.c Significantly reduce the memory leak as noted in BUGS section for 2007-07-04 00:00:41 +00:00
wizard.c Fix numerous warnings. Aside from menu items in system.c and menu.c 2006-02-28 21:49:33 +00:00