Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit934a9fc

Browse files
author
Felipe Zimmerle
committed
Verify if chunk exists before access it
1 parentb8636a7 commit934a9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎apache2/apache2_io.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ apr_status_t input_filter(ap_filter_t *f, apr_bucket_brigade *bb_out,
8585
returnAPR_EGENERAL;
8686
}
8787

88-
if (chunk->length>0) {
88+
if (chunk&&chunk->length>0) {
8989
if (chunk&& (!msr->txcfg->stream_inbody_inspection|| (msr->txcfg->stream_inbody_inspection&&msr->if_stream_changed==0))) {
9090
/* Copy the data we received in the chunk */
9191
bucket=apr_bucket_heap_create(chunk->data,chunk->length,NULL,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp