summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/stdlib/t_getenv_thread.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-10-22 01:37:32 +0000
committermarcel <marcel@FreeBSD.org>2014-10-22 01:37:32 +0000
commit48e5a4e0567ded790448a078b6f961ef86284826 (patch)
tree72b4e18774c2e94afe685247bdfd4d49432d726c /contrib/netbsd-tests/lib/libc/stdlib/t_getenv_thread.c
parentb3319d7fe023a8a5181e13a3f0759fd22e588fce (diff)
downloadFreeBSD-src-48e5a4e0567ded790448a078b6f961ef86284826.zip
FreeBSD-src-48e5a4e0567ded790448a078b6f961ef86284826.tar.gz
Virtual machines can easily have more than 16 option ROMs and
when that happens, we happily access our resource array out of bounds. Make sure we stay within the MAX_ROMS limit. While here, bump MAX_ROMS from 16 to 32 to minimize the chance of leaving option ROMs unaccounted for. Obtained from: Juniper Networks, Inc.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdlib/t_getenv_thread.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud