Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 11:20:26 -0700
From:      Ted Unangst <tedu@coverity.com>
To:        hackers@freebsd.org
Subject:   malloc null bugs
Message-ID:  <412640EA.4090403@coverity.com>

next in thread | raw e-mail | index | archive | help
Found during analysis with Coverity's tools. FreeBSD 4.10
atapi-cd.c, everywhere.  I understand there was some question of not 
being to deal with failure gracefully in ata, but many of these are in 
functions like ioctl which can easily report errors.

igmp.c:find_rti
mii.c:mii_phy_probe.  device_add_child can also fail, and is not checked.
pst-raid.c:pst_add_raid
if_dc.c:dc_decode_leaf_mii
if_ti:ti_setmulti
if_sk.c:sk_vpd_read
uipc_syscalls.c:sf_buf_init

mpt.c:mpt_send_port_enable, mpt_get_request can fail

if_wi_pci.c:attach, bus_alloc_resource may fail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412640EA.4090403>