antirez/redis — pull request #790 by donzell (2012-11-23 17:44:57+00:00)
Title: fix hiredis bug when end of str is \r,this may cause protocol parse error.

if end of str is \r ,in function seekNewLine,s[pos+1] is accessing invalid address.usually we will get random value,but if it is '\n',hiredis thinks it get a \r\n but not.when next tcp packet carries \n in first byte,protocol error occurs.