summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/llabs.c
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-10-06 08:43:48 +0000
committerhrs <hrs@FreeBSD.org>2015-10-06 08:43:48 +0000
commita9bfaebd85834b2174fc8556e888c5dc381ace2f (patch)
tree4ad6c2afa957672984edeb0a09d74d60564bbab3 /lib/libc/stdlib/llabs.c
parent9fffe2524dd695053a4ad0b6fa7428f3023b33e6 (diff)
downloadFreeBSD-src-a9bfaebd85834b2174fc8556e888c5dc381ace2f.zip
FreeBSD-src-a9bfaebd85834b2174fc8556e888c5dc381ace2f.tar.gz
Reallocate a maxlen-long buffer only when the current maxlen is
shorter than the required length. Note that it rarely happens because maxlen is almost always 128 which covers struct sockaddr_storage.
Diffstat (limited to 'lib/libc/stdlib/llabs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud