Date: Thu, 22 Jul 2010 19:22:32 +0000 (UTC) From: Weongyo Jeong <weongyo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r210391 - stable/8/sys/dev/bwi Message-ID: <201007221922.o6MJMWVW039235@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: weongyo Date: Thu Jul 22 19:22:32 2010 New Revision: 210391 URL: http://svn.freebsd.org/changeset/base/210391 Log: MFC r209892: Fixes a page fault in bwi_pci_probe() because the array isn't terminated with NULL. PR: kern/148473 Submitted by: Grzegorz Dabrowski <grzegorz.dabrowski at gmail dot com> Modified: stable/8/sys/dev/bwi/if_bwi_pci.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/dev/bwi/if_bwi_pci.c ============================================================================== --- stable/8/sys/dev/bwi/if_bwi_pci.c Thu Jul 22 19:15:26 2010 (r210390) +++ stable/8/sys/dev/bwi/if_bwi_pci.c Thu Jul 22 19:22:32 2010 (r210391) @@ -91,7 +91,8 @@ static const struct bwi_dev { { PCI_VENDOR_BROADCOM, 0x4324,"Broadcom BCM4309 802.11a/b/g Wireless Lan" }, { PCI_VENDOR_BROADCOM, 0x4318,"Broadcom BCM4318 802.11b/g Wireless Lan" }, { PCI_VENDOR_BROADCOM, 0x4319,"Broadcom BCM4318 802.11a/b/g Wireless Lan" }, - { PCI_VENDOR_BROADCOM, 0x431a,"Broadcom BCM4318 802.11a Wireless Lan" } + { PCI_VENDOR_BROADCOM, 0x431a,"Broadcom BCM4318 802.11a Wireless Lan" }, + { 0, 0, NULL } }; static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007221922.o6MJMWVW039235>