Fix CORD_cat_char_star to prevent SEGV in case of out-of-memory
authorIvan Maidanski <ivmai@mail.ru>
Fri, 8 Jun 2012 17:10:17 +0000 (21:10 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 8 Jun 2012 17:10:17 +0000 (21:10 +0400)
commitd6752417337b70cde2264cc384304740de9908f6
tree010f23f66d00fd7debff05cbafbf4b7729eb9e9e
parent3d1a3dc6192cb04846ff30ca204c0eaa608256c6
Fix CORD_cat_char_star to prevent SEGV in case of out-of-memory

* cordbscs.c (CORD_cat_char_star): Check GC_MALLOC_ATOMIC result for
NULL (do OUT_OF_MEMORY in such case) to prevent SEGV.
cord/cordbscs.c