diff options
| author | millert <> | 2015-01-16 18:20:14 +0000 |
|---|---|---|
| committer | millert <> | 2015-01-16 18:20:14 +0000 |
| commit | b9a57300a47af99b65aec8941487e8a7800ca3b0 (patch) | |
| tree | 9c6ac7d9a43539781240f46e06929507cab1fe0e /src/lib/libc/stdlib/malloc.c | |
| parent | 75ff78098670f8d56c60d3f06e0ab5378c725e8f (diff) | |
| download | openbsd-b9a57300a47af99b65aec8941487e8a7800ca3b0.tar.gz openbsd-b9a57300a47af99b65aec8941487e8a7800ca3b0.tar.bz2 openbsd-b9a57300a47af99b65aec8941487e8a7800ca3b0.zip | |
Use ">", not ">=" when comparing length to HOST_NAME_MAX since
otherwise we end up needlessly replacing a NUL with a NUL.
OK deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
