1
0
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:
William A. Rowe Jr
2002-04-01 02:41:08 +00:00
parent 9644d3cdba
commit 9f9fa4e4cd

View File

@@ -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;
}