summaryrefslogtreecommitdiffstats
path: root/sys/pci/ncr.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-01-28 15:48:31 +0000
committerjhb <jhb@FreeBSD.org>2013-01-28 15:48:31 +0000
commit7756bef786978bd5d07c05b55bc8428454d6837d (patch)
tree463132b6a908ec2e5a240a7065cfd9d8ee4e62e3 /sys/pci/ncr.c
parent74295506311b9507b710b2729ba15e2fa5a611c8 (diff)
downloadFreeBSD-src-7756bef786978bd5d07c05b55bc8428454d6837d.zip
FreeBSD-src-7756bef786978bd5d07c05b55bc8428454d6837d.tar.gz
- Compute the correct size to reallocate when doubling the size of the
array of loaded objects to avoid a buffer overrun. - Use reallocf() to avoid leaking memory if the realloc() fails. PR: kern/175648 Submitted by: yuri@rawbw.com (1) MFC after: 1 week
Diffstat (limited to 'sys/pci/ncr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud