Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 49D50200B5B for ; Fri, 5 Aug 2016 16:59:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4857D160A8E; Fri, 5 Aug 2016 14:59:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 914A5160A64 for ; Fri, 5 Aug 2016 16:59:13 +0200 (CEST) Received: (qmail 99010 invoked by uid 500); 5 Aug 2016 14:59:12 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 99000 invoked by uid 99); 5 Aug 2016 14:59:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2016 14:59:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 221561A04FF for ; Fri, 5 Aug 2016 14:59:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Zk1quu1vidlH for ; Fri, 5 Aug 2016 14:59:10 +0000 (UTC) Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 4C4965F20C for ; Fri, 5 Aug 2016 14:59:09 +0000 (UTC) Received: by mail-qk0-f182.google.com with SMTP id p74so265336011qka.0 for ; Fri, 05 Aug 2016 07:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wVxYYsrCdH8UDhsXsg6otNgCCbdObfR5JwDlnJbPKuY=; b=Uzf6ltlEh2jcuc3axMIvKtjmK6s2SXMkeADwmD6XXoJ46BjT1BNm7jIMX0CunXn4EJ +AccvVt7t4E2DHnx38fQ4z5ymn4m0dCYUI82RqnCCWWtzpwy6318X9gde5Zzl/0v9FYf bLslEzFK95OSB7ypNRaSWHvD74fa3hMn/u3CKzZAqYkNe7gAjIqCFxQCHKTdsACIvbSw InKIRV6M9YevzXmOO65piV+NglRHC8kXTFMttQz13hhl13B1t83co1WnaOwiIwLPEBHN XYDThqeITRn1UdAfUuEie4EkBbZLG00N5wDb6B4L7NnA7V9mQAe/yWjEsR7mNWUpYk3W wOLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wVxYYsrCdH8UDhsXsg6otNgCCbdObfR5JwDlnJbPKuY=; b=GjLMz9544c9HGEx3OiEYjxijBGYaw9pv0WdsCJgsRP9uVHvOE/KRaNy8slbgubgUhV DFjqcdDIizQ8xNteUNjYJQ/FcGLauDRe1u93jMbxTAQIgqh8BJkJp9fp3uE7pT28xCwq bQvO6bjqeYw3nBmx8gCLLgi06Ph4ITPLXoqF5gN3K1T8W7RGmgjby4snrBVfncQyTHFK QuqoPG6Vx/ytHprO2R8rX3DbreoAsAgC+MeM4M3GQ6MnuGR+R6r7H8WnPKXvqIXgZGhw K+Bi3hfexUEA45Y3oxJt622cLD4ptYfJbqkxUOODxV5vYM0HqdASIXLI+tCdOf2uYZ8j lt/g== X-Gm-Message-State: AEkoousY8ooo6NIee9vG44u3cqd3V7ybxUxwR4vTh2zfcCThYuD0FsD4KKsLjN3++tlAgp7//smZtAU6KRFxeg== X-Received: by 10.55.149.70 with SMTP id x67mr12853859qkd.47.1470409148266; Fri, 05 Aug 2016 07:59:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.97.206 with HTTP; Fri, 5 Aug 2016 07:59:07 -0700 (PDT) In-Reply-To: <20160805091327.6D05E3A0046@svn01-us-west.apache.org> References: <20160805091327.6D05E3A0046@svn01-us-west.apache.org> From: Yann Ylavic Date: Fri, 5 Aug 2016 16:59:07 +0200 Message-ID: Subject: Re: svn commit: r1755264 - /httpd/httpd/trunk/server/protocol.c To: httpd-dev Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 05 Aug 2016 14:59:14 -0000 On Fri, Aug 5, 2016 at 11:13 AM, wrote: > Author: wrowe > Date: Fri Aug 5 09:13:26 2016 > New Revision: 1755264 > > URL: http://svn.apache.org/viewvc?rev=1755264&view=rev > Log: > Stop reflecting irrelevant data to the request error notes, particularly > for abusive and malformed traffic the non-technical consumer of a user-agent > has no control over. > > Simply take note where the administrator-configured limits have been exceeded, > that administrator can find details in the error log if desired. > > > Modified: > httpd/httpd/trunk/server/protocol.c > > Modified: httpd/httpd/trunk/server/protocol.c > URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=1755264&r1=1755263&r2=1755264&view=diff > ============================================================================== > --- httpd/httpd/trunk/server/protocol.c (original) > +++ httpd/httpd/trunk/server/protocol.c Fri Aug 5 09:13:26 2016 > @@ -808,23 +808,9 @@ AP_DECLARE(void) ap_get_mime_headers_cor > * exceeds the configured limit for a field size. > */ > if (rv == APR_ENOSPC) { > - const char *field_escaped; > - if (field && len) { > - /* ensure ap_escape_html will terminate correctly */ > - field[len - 1] = '\0'; > - field_escaped = ap_escape_html(r->pool, field); > - } > - else { > - field_escaped = field = ""; > - } 'field' can still be NULL here when rgetline returns NOSPC, hence field_name_len(field) below segfaults. That's I guess what Jim observes in t/apache/limits.t...