htdigest: Fix buffer overflow when reading digest
password file with very long lines.

PR 54893.

Backport of r1475878 from trunk resp.
r1476089 from 2.4.x resp. r1476242
from 2.2.x.

Proposed/Backported by: rjung
Reviewed by: minfrin, wrowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1489893 13f79535-47bb-0310-9956-ffa450edef68
sorry, missed that rjung fixed objection


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1489896 13f79535-47bb-0310-9956-ffa450edef68
vote/promote MaxRanges


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1489898 13f79535-47bb-0310-9956-ffa450edef68
xforms.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1489900 13f79535-47bb-0310-9956-ffa450edef68
note for posterity the -v3 patch



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1489906 13f79535-47bb-0310-9956-ffa450edef68
Fix patch version number (thanks to covener).
v2 has a format error in a hunk header.
v3 is the same patch buth with correct patch format.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1489908 13f79535-47bb-0310-9956-ffa450edef68