diff options
author | John Baldwin <jhb@FreeBSD.org> | 2013-01-28 15:48:31 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2013-01-28 15:48:31 +0000 |
commit | 4e67575ec91eb4255320be647872e3a5c83d53e9 (patch) | |
tree | 463132b6a908ec2e5a240a7065cfd9d8ee4e62e3 /contrib/gdtoa/strtord.c | |
parent | c71535cdd36f7992552adb0fb04fbf4e14121ac3 (diff) | |
download | src-4e67575ec91eb4255320be647872e3a5c83d53e9.tar.gz src-4e67575ec91eb4255320be647872e3a5c83d53e9.zip |
- 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
Notes
Notes:
svn path=/head/; revision=246035
Diffstat (limited to 'contrib/gdtoa/strtord.c')
0 files changed, 0 insertions, 0 deletions