{"id":805586,"url":"http://patchwork.ozlabs.org/api/1.2/patches/805586/?format=json","web_url":"http://patchwork.ozlabs.org/project/lede/patch/mailman.47758.1503597636.26984.lede-dev@lists.infradead.org/","project":{"id":54,"url":"http://patchwork.ozlabs.org/api/1.2/projects/54/?format=json","name":"LEDE development","link_name":"lede","list_id":"lede-dev.lists.infradead.org","list_email":"lede-dev@lists.infradead.org","web_url":"http://lede-project.org/","scm_url":"","webscm_url":"http://git.lede-project.org/","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<mailman.47758.1503597636.26984.lede-dev@lists.infradead.org>","list_archive_url":null,"date":"2017-08-24T18:00:59","name":"[LEDE-DEV] dnsmasq: backport upstream fix for segfault","commit_ref":null,"pull_url":null,"state":"awaiting-upstream","archived":false,"hash":"9539de5d461768309c55ed4ddbdd294ef60025ae","submitter":{"id":70632,"url":"http://patchwork.ozlabs.org/api/1.2/people/70632/?format=json","name":"Michael Yartys via Lede-dev","email":"lede-dev@lists.infradead.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/lede/patch/mailman.47758.1503597636.26984.lede-dev@lists.infradead.org/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/805586/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/805586/checks/","tags":{},"related":[],"headers":{"Return-Path":"<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"mZEBUeAz\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xdXCr2xMXz9sCZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 04:01:12 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dkwR9-00080B-Hz; Thu, 24 Aug 2017 18:00:59 +0000"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209;\n\th=Date:Sender:Content-Type:\n\tSubject:List-Help:Reply-To:List-Archive:List-Unsubscribe:List-Subscribe:Cc:\n\tFrom:List-Post:List-Id:Message-ID:MIME-Version:To:Content-Transfer-Encoding:\n\tContent-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:\n\tResent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner;\n\tbh=HZ0NKEfOwk5wUPYyFKwOef/X4u9XRCvEHm/mAq5Z560=;\n\tb=mZEBUeAzFWBnq/iEvW9DQjDAUm\n\txlY/Gvgrini5fej/tB/BIfZEAuofQzJGTH1K3z3S2g2IUiltdoUYRXV2ZpwvlvP9GDTiXfhLcAI51\n\tXhm2Dx7awRLNS0D2vZp9Pl56bVb95d4t3TJRo5EJ4D/+kRyrbUoT8hYirCJXolgDhbSEV5T1S3Tbz\n\tGdR8jJr5LmGtIt7sc62dFCbFVozaEr/+02t16vv20QAk6vGLR9IoIHYNJIUU5/5PlFHdT/vnAiSma\n\tdcVrYcieH9K68VE2gB1FKV50fUNgMobdfhvrZZ0fkK9z3Q3thxduoliYd+IyfkG51ydTfcFBnhusY\n\tdVVm1Thg==;","To":"lede-dev@lists.infradead.org","MIME-Version":"1.0","Message-ID":"<mailman.47758.1503597636.26984.lede-dev@lists.infradead.org>","List-Id":"<lede-dev.lists.infradead.org>","List-Post":"<mailto:lede-dev@lists.infradead.org>","From":"Ash Benz via Lede-dev <lede-dev@lists.infradead.org>","Precedence":"list","Cc":"Ash Benz <ash.benz@bk.ru>","X-Mailman-Version":"2.1.21","X-BeenThere":"lede-dev@lists.infradead.org","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/lede-dev/>","Reply-To":"Ash Benz <ash.benz@bk.ru>","List-Help":"<mailto:lede-dev-request@lists.infradead.org?subject=help>","Subject":"[LEDE-DEV] [PATCH] dnsmasq: backport upstream fix for segfault","Content-Type":"multipart/mixed;\n\tboundary=\"===============3671885231342052161==\"","Sender":"\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>","Date":"Thu, 24 Aug 2017 18:00:59 +0000","Errors-To":"lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"The sender domain has a DMARC Reject/Quarantine policy which disallows\nsending mailing list messages using the original \"From\" header.\n\nTo mitigate this problem, the original message has been wrapped\nautomatically by the mailing list software.\nSigned-off-by: Ash Benz <ash.benz@bk.ru>\n---\n ...-segfault-caused-by-early-inclusion-stdio.patch | 27 ++++++++++++++++++++++\n 1 file changed, 27 insertions(+)\n create mode 100644 package/network/services/dnsmasq/patches/250-fix-segfault-caused-by-early-inclusion-stdio.patch","diff":"diff --git a/package/network/services/dnsmasq/patches/250-fix-segfault-caused-by-early-inclusion-stdio.patch b/package/network/services/dnsmasq/patches/250-fix-segfault-caused-by-early-inclusion-stdio.patch\nnew file mode 100644\nindex 0000000000..f9f6556bc9\n--- /dev/null\n+++ b/package/network/services/dnsmasq/patches/250-fix-segfault-caused-by-early-inclusion-stdio.patch\n@@ -0,0 +1,27 @@\n+From: Christian Hesse <mail at eworm.de>\n+\n+We define some constants in dnsmasq.h, which have an influence on\n+stdio.h. So do not include stdio.h before dnsmasq.h.\n+\n+This fixes a segmentation fault caused by size mismatch for\n+size_t and off_t on systems where these are 4 bytes without\n+large file support.\n+Reported, debugged and tested by Arne Worner <arne_woerner at yahoo.com>.\n+\n+Signed-off-by: Christian Hesse <mail at eworm.de>\n+---\n+ src/helper.c | 1 -\n+ 1 file changed, 1 deletion(-)\n+\n+diff --git a/src/helper.c b/src/helper.c\n+index 635677e..281cb4a 100644\n+--- a/src/helper.c\n++++ b/src/helper.c\n+@@ -14,7 +14,6 @@\n+    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+ \n+-#include <stdio.h>\n+ #include \"dnsmasq.h\"\n+ \n+ #ifdef HAVE_SCRIPT\n","prefixes":["LEDE-DEV"]}