brooks 50e4d892f3 Avoid reading pass the end of the source buffer when it is not NUL
terminated.

If this buffer is adjacent to an unmapped page or a version of C with
bounds checked is used this may result in a crash.

PR:		206177
Submitted by:	Alexander Cherepanov <cherepan@mccme.ru>
MFC after:	1 week
2016-01-13 21:49:01 +00:00
..
2014-08-20 14:58:25 +00:00
2015-09-20 20:16:34 +00:00
2015-11-15 20:44:22 +00:00
2015-09-17 05:06:34 +00:00