mongodb/mongo-ruby-driver — pull request #485 by sb8244 (2014-09-12 12:52:47+00:00)
Title: Check that malloc or asprint was successful

Based on https://github.com/mongodb/mongo-ruby-driver/pull/464 without the crap