]> 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>
Fri, 2 May 2014 20:33:17 +0000 (00:33 +0400)
commitfc12c339246d10dd42a8e8650223e38aadf2c988
treecccb3499b339604573a85e951b5e2a07bddee3c6
parent62bfeb0d34a13ee1bea27a5836ec87e703ab5f3d
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