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 AF744200BA0 for ; Fri, 14 Oct 2016 21:45:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AE016160ADD; Fri, 14 Oct 2016 19:45:00 +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 0251C160AD3 for ; Fri, 14 Oct 2016 21:44:59 +0200 (CEST) Received: (qmail 52057 invoked by uid 500); 14 Oct 2016 19:44:59 -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 52047 invoked by uid 99); 14 Oct 2016 19:44:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2016 19:44:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 700ABC207D for ; Fri, 14 Oct 2016 19:44:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id YXs8M32zRxXW for ; Fri, 14 Oct 2016 19:44:57 +0000 (UTC) Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 92C035F56B for ; Fri, 14 Oct 2016 19:44:57 +0000 (UTC) Received: by mail-it0-f52.google.com with SMTP id 4so218292itv.0 for ; Fri, 14 Oct 2016 12:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=NnurXSmyieaDwx6cvh8rOMfHMJKFJX0rBSQgOv+GKxM=; b=Vklirtm4ORg5pdQnb6eW2MhNvHlzwwVhmFx6fvnHoHr9RXSgqXIFdCvTwES5Wuk+4E 7YSZKtZfzI+ZzXdVYEynJquVa0wKhFtnCbyf4dXrEoOup+QcNahmJA/8Bb04mhGVuPpp SdismUE4IlC++xp7S5z54fYft+LfXf0r/HTn3J+aMi9dMOVdRclSFng0Vev3nL4idXDF xbNWmWdtbdKr7I9V3PB1O9xkMd2+qsj77nQiM8iSW3Jqly1kFvOLEsNKr2I7Twxjv/ve riYevDX7NXQXgxFnzzixrurViYLL7bOO8BVPzzJPUIcdDOtyYbCJrtICv2k6HFlhCELn qw7A== 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=NnurXSmyieaDwx6cvh8rOMfHMJKFJX0rBSQgOv+GKxM=; b=j55vHepFXboyE72krD8Rx2fRq8v6FmJBWozAt/mmNO3rYpSgLo8IvsgJ2glvq8LyRq D0iGBKeBnXr0EfnA4v080anbu2YmGovSWtWKRVJzBKtXoK7rDAw0TwmTGtlV+so02arn vlymDRSvg3QSs9WS2QlMiXlaXpJneIAkOQaqgvcHqWiRZReURPusRjOrBCLY5dk3VQet C/5+Ntnbzp0LX1oarKpDXud7OD1cpaX9mHTAjVp/Ly51RbgqK9kmCB2uFrQDsM9H2Ow7 hY7vLEnvXKsqpvFkdoIkIVZL8Qf90oK70O0665atzC8MzkVHZO6tZBUAC7huFrQVz/Ks RR5g== X-Gm-Message-State: AA6/9Rnz2FFGIsFWluxXiunyAtaeEq+dg6P4GdFoctjvAVQ1QA3eD/Z+8VKsauaoSUgcZW5hPn2w5uAFvM2VskZP X-Received: by 10.36.192.9 with SMTP id u9mr3613512itf.86.1476474296935; Fri, 14 Oct 2016 12:44:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.134.68 with HTTP; Fri, 14 Oct 2016 12:44:56 -0700 (PDT) In-Reply-To: References: <20150630084017.C9616AC0043@hades.apache.org> From: William A Rowe Jr Date: Fri, 14 Oct 2016 14:44:56 -0500 Message-ID: Subject: Re: svn commit: r1688399 - /httpd/httpd/trunk/modules/metadata/mod_remoteip.c To: httpd Content-Type: multipart/alternative; boundary=94eb2c05aa2afd4119053ed875ad archived-at: Fri, 14 Oct 2016 19:45:00 -0000 --94eb2c05aa2afd4119053ed875ad Content-Type: text/plain; charset=UTF-8 On Fri, Oct 14, 2016 at 11:16 AM, Eric Covener wrote: > This was not backported and popped up in PR60251. > > Bill, can you have a look including my guess that it really should > just be "temp_sa = r->useragent_addr;"? While that code should *not* be triggered before r->useragent_addr has been populated, some off-beat perl code causes these phases to run out-of-sequence and we segfault not long after if this is run without a post read request hook. I blame a bad mod_perl example, but the cycle wasted to confirm that useragent_addr is non-null isn't worth trimming. --94eb2c05aa2afd4119053ed875ad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On F= ri, Oct 14, 2016 at 11:16 AM, Eric Covener <covener@gmail.com> wrote:
This was not backported and pop= ped up in PR60251.

Bill, can you have a look including my guess that it really should
just be "temp_sa =3D r->useragent_addr;"?
While that code should *not* be triggered before r->useragen= t_addr
has been populated, some off-beat perl code causes the= se phases
to run out-of-sequence and we segfault not long after i= f this is run
without a post read request hook.

I blame a bad mod_perl example, but the cycle wasted to confirm
that useragent_addr is non-null isn't worth trimming.
=

--94eb2c05aa2afd4119053ed875ad--