joyent/node — pull request #7188 by maxtaco (2014-02-25 20:54:33+00:00)
Title: Fix a buffer overrun in node_crypto_bio

Fix a read off the end of a node BIO buffer that was calling a failure to read and parse X509 certificates, which was in turn causing the 'ca' option to `https.Agent` to be ignored.

This bug was introduced in a58f93ffc4a23aa7240808288acf8cf9f3022abea

A gist containing git bisection logs and a test case can be found here: https://gist.github.com/maxtaco/9211605