Ticket #1512 (closed defect: fixed)
mod_deflate: filesize check is too weak, move to new logstyle
| Reported by: | stbuehler | Owned by: | glen |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | mod_deflate | Version: | 1.5.x-svn |
| Severity: | normal | Keywords: | patch |
| Cc: | Blocked By: | ||
| Need User Feedback: | yes | Blocking: |
Description
I changed the filesize check to check for the end of the file, not the current offset (abs_offset):
- if (abs_offset > sce->st.st_size) {
+ if (c->file.length + c->file.start > sce->st.st_size) {
And i replaced the log_error_write calls with ERROR(...).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

