]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
realloc(x, 0) should not return NULL.
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 17 Sep 2019 18:36:29 +0000 (18:36 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 17 Sep 2019 18:36:29 +0000 (18:36 +0000)
commit0edc114ac0b998b06235da32bec24d55c10206cd
tree03d3dc10da744f86f9cee67e1b106fb0363242e2
parent55894117b126dddc10bf497a53afb6e269b9a542
realloc(x, 0) should not return NULL.

See http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_400.
Upstream jemalloc issue is opened by emaste at
https://github.com/jemalloc/jemalloc/issues/1629.

Reviewed by: emaste
PR: 240456
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
DIfferential revision: https://reviews.freebsd.org/D21632
contrib/jemalloc/src/jemalloc.c