Fix Bug #54727, a re-incarnation of #26862

This commit is contained in:
Michael Wallner 2011-05-23 10:42:00 +00:00
parent b7eb3c1c5a
commit 327a87fdd9
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* Generated by re2c 0.13.5 on Mon May 31 11:07:50 2010 */
/* Generated by re2c 0.13.5 on Mon May 23 12:29:55 2011 */
#line 1 "ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
@ -1012,7 +1012,7 @@ static void php_url_scanner_output_handler(char *output, uint output_len, char *
ctx->result.len = 0;
smart_str_free(&ctx->buf);
} else {
*handled_output = NULL;
*handled_output = estrndup(output, *handled_output_len = output_len);
}
} else {
*handled_output = NULL;

View File

@ -450,7 +450,7 @@ static void php_url_scanner_output_handler(char *output, uint output_len, char *
ctx->result.len = 0;
smart_str_free(&ctx->buf);
} else {
*handled_output = NULL;
*handled_output = estrndup(output, *handled_output_len = output_len);
}
} else {
*handled_output = NULL;