summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/malloc/malloc_general/malloc_general.c
diff options
context:
space:
mode:
authortb <>2022-01-08 21:36:39 +0000
committertb <>2022-01-08 21:36:39 +0000
commit1d65cb0d3a77508bfc0bdcbc93feeea4c4cb6c2a (patch)
tree466830b7a7d27e0ddc854b19bef96adc5c6550cf /src/regress/lib/libc/malloc/malloc_general/malloc_general.c
parenta86a04576d7e4fd3e48b1285a0a5593180210f5e (diff)
downloadopenbsd-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