]> granicus.if.org Git - gc/commit
Fix hb_n_marks underflow in clear_fl_marks if MARK_BIT_PER_OBJ
authorIvan Maidanski <ivmai@mail.ru>
Sat, 19 Aug 2017 15:22:37 +0000 (18:22 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Sep 2017 08:17:51 +0000 (11:17 +0300)
commit736ab397cf4019038c77bc9528a488773a4d47ba
tree2413d9d51e4d06b0af0c6d327378a1d8c9d7b03d
parenta6ff7ec6d3addd09c58bdad0a3a8f22fa7c97cd2
Fix hb_n_marks underflow in clear_fl_marks if MARK_BIT_PER_OBJ

Issue #177 (bdwgc).

* mark.c [MARK_BIT_PER_OBJ] (GC_set_hdr_marks): Set hhdr->hb_n_marks
exactly to n_marks value (without a decrement by one).
mark.c