diff options
author | tb <> | 2022-01-08 21:36:39 +0000 |
---|---|---|
committer | tb <> | 2022-01-08 21:36:39 +0000 |
commit | 1d65cb0d3a77508bfc0bdcbc93feeea4c4cb6c2a (patch) | |
tree | 466830b7a7d27e0ddc854b19bef96adc5c6550cf /src/regress/lib/libc/malloc/malloc_general/malloc_general.c | |
parent | a86a04576d7e4fd3e48b1285a0a5593180210f5e (diff) | |
download | openbsd-1d65cb0d3a77508bfc0bdcbc93feeea4c4cb6c2a.tar.gz openbsd-1d65cb0d3a77508bfc0bdcbc93feeea4c4cb6c2a.tar.bz2 openbsd-1d65cb0d3a77508bfc0bdcbc93feeea4c4cb6c2a.zip |
Prepare to provide OBJ_length() and OBJ_get0_data()
OBJ_length() turns the int obj->length into a size_t, so add
an overflow check. While obj->length should never be negative,
who knows...
ok jsing
Diffstat (limited to 'src/regress/lib/libc/malloc/malloc_general/malloc_general.c')
0 files changed, 0 insertions, 0 deletions