summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2023-01-24 08:03:36 +0300
committerIvan Maidanski <ivmai@mail.ru>2023-01-24 12:28:06 +0300
commit94eda0c39eea3f6fce7990c0984542ab2c58c79d (patch)
tree06c608ef9a699d54c184ad81b4c992e1aefeb04b /tests
parent564274514901f43f9b2e308c96ac8b835026a35d (diff)
downloadbdwgc-94eda0c39eea3f6fce7990c0984542ab2c58c79d.tar.gz
Do not skip blacklisting check even if exact match in GC_allochblk_nth
(fix of commit 3dbb260e5) Issue #510 (bdwgc). * allchblk.c (GC_allochblk): Replace GC_SIZE_MAX/2 to GC_SIZE_MAX>>1 (to avoid a cppcheck false positive). * allchblk.c (find_nonbl_hblk): Remove assertion that initial last_hbp is not greater than search_end (because the latter is last_hbp plus size_remain). * allchblk.c (GC_allochblk_nth): If size_avail==size_needed then do no break the loop immediately (i.e. do blacklisting check before the break).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions