Alexander Motin 26b1288f5a Make do_buff_decode() not read past the end of the buffer.
Abort format processing as soon as we have no enough data.

MFC after:	2 weeks
2017-01-07 09:33:11 +00:00
..
2015-06-13 19:20:56 +00:00
2016-04-19 11:12:57 +00:00