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
commitbe39b26f1f8f0427388ee6657755f16936ca35a5 (patch)
tree466830b7a7d27e0ddc854b19bef96adc5c6550cf /src/regress/lib/libc/malloc/malloc_general/malloc_general.c
parent8a7a673a6b3d10ab5b59599a2211e8c1fabb98e4 (diff)
downloadopenbsd-be39b26f1f8f0427388ee6657755f16936ca35a5.tar.gz
openbsd-be39b26f1f8f0427388ee6657755f16936ca35a5.tar.bz2
openbsd-be39b26f1f8f0427388ee6657755f16936ca35a5.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