sync with upstream, fix read-past-end errors
Merge pull request #80 from client9/remotes/trunk

sync with upstream, fix read-past-end errors
MODSEC-362
MODSEC-362
Merge pull request #81 from SpiderLabs/remotes/trunk

Merge 2.7.x