Following up on r1079686 and r1082838, use eof variable for checking end of file status and fix a buffer overflow. Add a note on '\r\n' handling might be broken. (Needs further review)
Following up on r1079686 and r1082838, use eof variable for checking end of
file status and fix a buffer overflow. Add a note on '\r\n' handling might be
broken. (Needs further review)

* subversion/libsvn_diff/parse-diff.c
  (scan_eol): Don't calculate a length we don't use and don't overflow our
    stack buffer by keeping space for the 0 byte we add a few lines later.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion