zeromq/czmq — pull request #414 by rpedde (2014-03-25 16:59:49+00:00)
Title: Fix overrun on improperly terminated configs

When the last line of a config chunk wasn't terminated with a \n,
remaining was decrimented too far, causing an overflow and
subsequent segv.

Fix calculation of remaining size, added test for improperly
terminated config files.