mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
pointer subtraction yeilds a ssize_t, fix emit by notating the
expression in terms of addition git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94351 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -866,7 +866,7 @@ static void ap_ssi_get_tag_and_value(include_ctx_t *ctx, char **tag,
|
||||
char term = '\0';
|
||||
|
||||
*tag_val = NULL;
|
||||
if (ctx->curr_tag_pos - ctx->combined_tag > ctx->tag_length) {
|
||||
if (ctx->curr_tag_pos > ctx->combined_tag + ctx->tag_length) {
|
||||
*tag = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user