]> granicus.if.org Git - gc/commit
Fix out-of-memory case in new_back_edges, push_in_progress (backgraph)
authorIvan Maidanski <ivmai@mail.ru>
Sun, 30 Mar 2014 08:53:48 +0000 (12:53 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 30 Mar 2014 08:53:48 +0000 (12:53 +0400)
commit1a9f67457b3a7b0ab4caaddfa9ee7cbe88b0045d
tree0f7dc40f68223d0b989520c5ffbe331acbac57f3
parent180b56cc54c765a8ba0283f718cdf64f45090ccf
Fix out-of-memory case in new_back_edges, push_in_progress (backgraph)

* backgraph.c (new_back_edges): Abort if not enough memory.
* backgraph.c (push_in_progress): Prevent null pointer dereference in
BCOPY() if allocation failed (due to not enough memory).
backgraph.c