diff options
author | jsg <> | 2017-05-11 02:26:39 +0000 |
---|---|---|
committer | jsg <> | 2017-05-11 02:26:39 +0000 |
commit | 88061d18303a68fc57c9f7abe5775cb7b6ba02c8 (patch) | |
tree | 57e3f6c5fc4092cb1e77a8d62903a58378f79c7c /src/lib/libc/stdlib/qsort.c | |
parent | 5f64f36094433c7ef3912c187243ab5b1c54b413 (diff) | |
download | openbsd-88061d18303a68fc57c9f7abe5775cb7b6ba02c8.tar.gz openbsd-88061d18303a68fc57c9f7abe5775cb7b6ba02c8.tar.bz2 openbsd-88061d18303a68fc57c9f7abe5775cb7b6ba02c8.zip |
Fix a problem introduced in freezero() conversion and use
sizeof(struct) not sizeof(pointer).
otto@ points out that on OpenBSD currently freezero() would have still
zeroed the entire allocation, but this is not documented behaviour and
may change in future.
ok tom@
Diffstat (limited to 'src/lib/libc/stdlib/qsort.c')
0 files changed, 0 insertions, 0 deletions