Message ID | 20201206061442.va_wmK_ha%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=bK4U=FK=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07F80C4361B for <linux-mm@archiver.kernel.org>; Sun, 6 Dec 2020 06:14:46 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9690322DFB for <linux-mm@archiver.kernel.org>; Sun, 6 Dec 2020 06:14:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9690322DFB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 310B56B006C; Sun, 6 Dec 2020 01:14:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 296E16B006E; Sun, 6 Dec 2020 01:14:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0EBED6B0070; Sun, 6 Dec 2020 01:14:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0095.hostedemail.com [216.40.44.95]) by kanga.kvack.org (Postfix) with ESMTP id E06B36B006C for <linux-mm@kvack.org>; Sun, 6 Dec 2020 01:14:44 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id AEED9362C for <linux-mm@kvack.org>; Sun, 6 Dec 2020 06:14:44 +0000 (UTC) X-FDA: 77561843688.25.arch34_250de20273d3 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin25.hostedemail.com (Postfix) with ESMTP id 8F24E1804E3A1 for <linux-mm@kvack.org>; Sun, 6 Dec 2020 06:14:44 +0000 (UTC) X-HE-Tag: arch34_250de20273d3 X-Filterd-Recvd-Size: 2608 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf34.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Sun, 6 Dec 2020 06:14:44 +0000 (UTC) Date: Sat, 05 Dec 2020 22:14:42 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1607235283; bh=FK5p77zY63eqh74pQFA4qHfdP6Wbip7SX+nT8OBcPO8=; h=From:To:Subject:In-Reply-To:From; b=n43jEqr6qJo6AXwpjo2BwFmCs4zQ77NBczXlG792lH1j57vcw7UoXJP1dp2T+eeIK 99GhcJvDxpyZDpxe/C4eqK+xEe5Q+W8+VT69xET14I1qJC3MZqSznpuYZmH6rEvsGA DC05RKDo8qLVezr38YedMN6y79jLqmB0GJnnGin8= From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, dong.menglong@zte.com.cn, jwilk@jwilk.net, linux-mm@kvack.org, mm-commits@vger.kernel.org, nhorman@tuxdriver.com, pabs3@bonedaddy.net, stable@vger.kernel.org, torvalds@linux-foundation.org Subject: [patch 02/12] coredump: fix core_pattern parse error Message-ID: <20201206061442.va_wmK_ha%akpm@linux-foundation.org> In-Reply-To: <20201205221412.67f14b9b3a5ef531c76dd452@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[01/12] zlib: export S390 symbols for zlib modules
|
expand
|
--- a/fs/coredump.c~coredump-fix-core_pattern-parse-error +++ a/fs/coredump.c @@ -229,7 +229,8 @@ static int format_corename(struct core_n */ if (ispipe) { if (isspace(*pat_ptr)) { - was_space = true; + if (cn->used != 0) + was_space = true; pat_ptr++; continue; } else if (was_space) {