You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2020/05/15 13:22:57 UTC
svn commit: r1877787 - /httpd/httpd/trunk/server/util_filter.c
Author: ylavic
Date: Fri May 15 13:22:56 2020
New Revision: 1877787
URL: http://svn.apache.org/viewvc?rev=1877787&view=rev
Log:
Follow up to r1877785: ap_filter_should_yield() is not NULL safe :p
Modified:
httpd/httpd/trunk/server/util_filter.c
Modified: httpd/httpd/trunk/server/util_filter.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util_filter.c?rev=1877787&r1=1877786&r2=1877787&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util_filter.c (original)
+++ httpd/httpd/trunk/server/util_filter.c Fri May 15 13:22:56 2020
@@ -1276,7 +1276,7 @@ AP_DECLARE_NONSTD(int) ap_filter_output_
}
if ((fp->bb && !APR_BRIGADE_EMPTY(fp->bb))
- || ap_filter_should_yield(f->next)) {
+ || (f->next && ap_filter_should_yield(f->next))) {
rc = OK;
break;
}