]> granicus.if.org Git - gc/commit
Fix hbp overflow in GC_install_counts
authorIvan Maidanski <ivmai@mail.ru>
Sun, 4 Nov 2018 08:59:11 +0000 (11:59 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 23 Nov 2018 22:16:45 +0000 (01:16 +0300)
commit8779df2f18a56be6eb8372f7a459380da8746fb3
tree572a964040b29385876ee5325305486cca4c4a53
parent0a20686c162473adbcbfeda52105e55dd814dd86
Fix hbp overflow in GC_install_counts
(a cherry-pick of commits 6a32bb436a6d79 from 'master')

Issue #245 (bdwgc).

The overflow resulted in an infinite loop in GC_install_counts on Win32.

* headers.c (GC_install_counts): If hbp+=BOTTOM_SZ overflow is expected
then break the first loop; add comment.
headers.c