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>
Sun, 4 Nov 2018 09:02:34 +0000 (12:02 +0300)
commit6a32bb4cf84bafa6047c3b1315f0c0dd56aac3fc
treeac65d319f2f7ba19b6e6f8517fc1c699e58aea21
parentd29c77c46dcc88c1e142ebb740e5b56e6cbd8076
Fix hbp overflow in GC_install_counts

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.
headers.c