patch from ashwini sharma: treat 0 length read at the start of password read as EOF.
1 file changed