Received: by 10.213.65.68 with SMTP id h4csp1691459imn; Thu, 29 Mar 2018 09:13:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx488xJVoa1s7ZkIll5Q/Y00NcK9hv5rzg7GHZlstVLkQXMn+TgKm00+QdCUbP2hI7GUZDmKy X-Received: by 10.99.122.22 with SMTP id v22mr5754018pgc.300.1522339984561; Thu, 29 Mar 2018 09:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522339984; cv=none; d=google.com; s=arc-20160816; b=bIEi3bvn58br8Kw9HsNQ9faayI0Gfqd2iRT/24BMKMk4mfNELlny75839cqf63wNoL DJWpnorUHhoC0gLOEWcIYo0sI9PRi+P5G9SEd/WVJUmzfCHomHxvdAgWSgnSDG/Pe+TW zaLm8VdB3eUzNtOtMJVR6a+ITyt/mi23H9UrpYUB9l5CXLyFMGqLL3lrf/YEwf16iHwU tlMfpOmnjE0T1T2eqH9tXVmrHNB1x5K5ZTVRHHbfDheTkQfu63DOWgMklTf/w4P75Dck eTc/fPSX5i12JJg107F3mHgOKaBjDX+Dls03mqAmy/jChJ2i2Jxx/67NSZTemKzKMT4X ZzHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=JkXrTCnKujMpf2/qXXIhRF0H2qXJjnVFk98aPvj/UaE=; b=cQ+x8ZRzlcOBO0N4JYxZm8VVZHEdYtWLaMSMUZ4D5PdLMRGymakCNGVbO8MHyk2zRq OJSJxyWhph0y/C+5QUU7lEHOpbJ6ib72pl/ugoNJJy6fmuGA57c17HHMMt+fU7PINvdl ntFEXxUxSEpcEDMboy6ttwgoh5Koln2Unipu95fW6I9Xt5/SeNe+oUNxSiknfAPwVRx6 6mguRBAee43kI9/J5srr5LyB3XbnGm4Tsxpg/jjYwpkVfFVPc7AzNDvQv27zCyQ5gqT4 V1DUbtGErJm/9Vwjtvy6tifNXc/F8bmHzDOjkhs9o/yp6MS51QKoS81pwdQG3M0h2ufe etIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2-v6si4363457pla.436.2018.03.29.09.12.50; Thu, 29 Mar 2018 09:13:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752454AbeC2QLg (ORCPT + 99 others); Thu, 29 Mar 2018 12:11:36 -0400 Received: from smtprelay0069.hostedemail.com ([216.40.44.69]:45962 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751859AbeC2QLe (ORCPT ); Thu, 29 Mar 2018 12:11:34 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 1AA26837F24A; Thu, 29 Mar 2018 16:11:34 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::,RULES_HIT:41:355:379:541:599:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1567:1593:1594:1711:1714:1730:1747:1777:1792:2393:2559:2562:2828:2911:3138:3139:3140:3141:3142:3622:3865:3867:3872:4321:4425:5007:10004:10400:10848:11026:11232:11658:11914:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21451:21627:30054:30091,0,RBL:47.151.150.235:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:21,LUA_SUMMARY:none X-HE-Tag: cup92_81caf15d7bd00 X-Filterd-Recvd-Size: 1957 Received: from XPS-9350 (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA; Thu, 29 Mar 2018 16:11:31 +0000 (UTC) Message-ID: <1522339890.2210.35.camel@perches.com> Subject: Re: [PATCH] vsprintf: Make "null" pointer dereference more robust From: Joe Perches To: Petr Mladek , Andy Shevchenko Cc: "Tobin C . Harding" , linux@rasmusvillemoes.dk, linux-kernel@vger.kernel.org, Andrew Morton , Michal Hocko , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt Date: Thu, 29 Mar 2018 09:11:30 -0700 In-Reply-To: <20180329151309.omdoxcdku5xoshgx@pathway.suse.cz> References: <20180216210711.79901-1-andriy.shevchenko@linux.intel.com> <20180216210711.79901-8-andriy.shevchenko@linux.intel.com> <20180227155047.o74ohmoyj56up6pa@pathway.suse.cz> <1519752950.10722.231.camel@linux.intel.com> <20180228100437.o4juwxbzomkqjvjx@pathway.suse.cz> <1519814544.10722.266.camel@linux.intel.com> <20180302125118.bjd3tbuu72vgfczo@pathway.suse.cz> <20180302125359.szbin2kznxvoq7sc@pathway.suse.cz> <1520000254.10722.389.camel@linux.intel.com> <20180329151309.omdoxcdku5xoshgx@pathway.suse.cz> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.26.1-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-03-29 at 17:13 +0200, Petr Mladek wrote: > The original simple patch grew into something bigger. I have it > almost ready. It looks the following way at the moment: [] > vsprintf: Factor out %p[iI] handler as ip_addr_string() > vsprintf: Factor out %pV handler as va_format() > vsprintf: Factor out %pO handler as kobject_string() I would like to review these before being applied.