Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changes-entries/pr66034.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*) mod_substitute: Fix an integer overflow that can happen in very special
setups. PR 66034 [Ruediger Pluem]
2 changes: 1 addition & 1 deletion modules/filters/mod_substitute.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static apr_status_t do_pattmatch(ap_filter_t *f, apr_bucket *inb,
}
}
else if (script->regexp) {
int left = bytes;
apr_size_t left = bytes;
const char *pos = buff;
char *repl;
apr_size_t space_left = cfg->max_line_length;
Expand Down
Loading