Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2NsR-0007xW-5R for pgsql-committers@arkaria.postgresql.org; Fri, 08 Mar 2019 22:22:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h2NsO-0006WR-UO for pgsql-committers@arkaria.postgresql.org; Fri, 08 Mar 2019 22:22:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2NsO-0006Uo-L7 for pgsql-committers@lists.postgresql.org; Fri, 08 Mar 2019 22:22:00 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h2NsH-0006k2-Bi for pgsql-committers@lists.postgresql.org; Fri, 08 Mar 2019 22:21:59 +0000 Received: by mail-qt1-x843.google.com with SMTP id d16so4916831qtn.10 for ; Fri, 08 Mar 2019 14:21:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=+BIOQ+Gz7T2HJgVvKq8ipetNS6rH/vvD5RLEGUiRr2Q=; b=P2PWl69BPU4XmIYlt3WPxgfuWVJrFA5dP3HVxSt4X8ep0/3ZK0pQqja+AQ9Oi1fpoX Qzo3UV26qG/NwaMvu7vgg8H4RNLEl7llrYrY1CtTjz1AAHLD080tdyUD1u/AQ1cKk/t4 kvqeO3rey3enbeSS0v6TdyLIw6ScJFPyoEKymISAU62yVBGv/vA83n3AEaBj60JRGLm+ 8MsaGXI6IIISMq1rESP6YnOzHVFoCQbYoTamsqA9Kl4xC8cHq3shDgce19AzZJpt4/94 9f51rtnuBCvjkRQ/6ODzziFaiqQXFWMJpWSUKyAnUukA0troEyKLek1/R0D7qEqjaqS9 TU+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+BIOQ+Gz7T2HJgVvKq8ipetNS6rH/vvD5RLEGUiRr2Q=; b=Pja9y82N2hMNLIGwhWDCu+fQ9KmZ5z4Yv9xEbXKLKdHAFKjsNmkpcBHq866q6qfb09 ZdM0Xq9NGZmHHwbqQRX3hs8bUVJRcOrtmFAho0vgdkp0nwZRlsjMrrPtEIz9xlRwEIAY tYkTXrVWdYTJRgJDBE3SCBguG6yoWvHIMjOpxDmg7Qlk+AoPjFfU6emZPF3bzL0qcV4u giA1EavuK7L2g3ajlp38kNlrqA/jGZetkVUTJaCeHMdkpiGrkcvdyWnpTsnOPsu2krKH lZoUVkbY7RAFbuOvdfQpjf2A7Ql08HHLad+6ZwwlHRSRpwzntyixhr7cGfW66dXI0b8E PQ1w== X-Gm-Message-State: APjAAAXqHDEMmHqnQGmZfJYyVWYzHv2uHemrXBZro98XE2u2VRc91M9j 8ORfOiuEo3xJpMP4TmBoPRuaRXUfS6X9jvKxB5dtsAoBEWjP51vUxairABL9ivsykH40/yQkFor ikdYHLHp4RzikZ2zhjxARAfh1ttvbh+bxLBREjum+4xxH0tDMefaQcfPkmXSCP9thpZICZPBaK2 eB6sPCmljHJc7C/M00TZPn X-Google-Smtp-Source: APXvYqwcxd4E2uupnlMK8TNa854f0x5kH+/A4LsF0gZMPOG5s2mCWgF3wnIiW0b2H0RugCtJIGijwQ== X-Received: by 2002:ac8:2668:: with SMTP id v37mr17067559qtv.263.1552083712273; Fri, 08 Mar 2019 14:21:52 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id q2sm4137150qtn.47.2019.03.08.14.21.51 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Mar 2019 14:21:51 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id D0730121E7D; Fri, 8 Mar 2019 19:21:48 -0300 (-03) Date: Fri, 8 Mar 2019 19:21:48 -0300 From: Alvaro Herrera To: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix crash with old libxml2 Message-ID: <20190308222148.GA26971@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Mar-08, Alvaro Herrera wrote: > Fix crash with old libxml2 > > Certain libxml2 versions (such as the 2.7.6 commonly seen in older > distributions, but apparently only on x86_64) contain a bug that causes > xmlCopyNode, when called on a XML_DOCUMENT_NODE, to return a node that > xmlFreeNode crashes on. Arrange to call xmlFreeDoc instead of > xmlFreeNode for those nodes. I forgot to note in the commit message that the crash was introduced yesterday with commit 251cf2e27bec98274e8bb002608680bdc211319e, "Fix minor deficiencies in XMLTABLE, xpath(), xmlexists()". -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services