Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1563236ybg; Thu, 4 Jun 2020 12:58:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzf7Ew/q+y74Hkj7rOhqFUqYFkf2faxz1MXYzsJYRvLstLodWQulJlXlvl/B3E5j89x7Rs X-Received: by 2002:a05:6402:1558:: with SMTP id p24mr5755657edx.193.1591300692730; Thu, 04 Jun 2020 12:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591300692; cv=none; d=google.com; s=arc-20160816; b=cO0JDncdo5y61SCRcQ4i5D03+DikeXpqZPkrfo/GBb33YRC794eyWJCZkV8GAwDm3o CGgzBjtGPrFH8aNGIvD5Y9zh4CJfV6QouNTHtwAspKAaV9oCZFpwnKSqacTHZgkmqU5l m9qES+xhgkVzQdKpcq+9rSTr4CtRbhc2+pem82ivnEtoQCAWamtEKPJUw7CMBoP+85Xy EW2w4RJ0XtWkSFNckDMA3UsnyaJh8hB9TNXQjBDJC+MSskgEFDP70AjxrMXTDI5rWts2 DDbwNZ+YEdlvKIQ0RkIT8CD+K42mIIEr4AHr9xTgjDL8QyA89oS61iVuYEiTBDDe4Kdl C+MA== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=rDEb+0/NamUHbwgy6WnBsmWg3Kfj4nILehwFr2UaBX8=; b=so3hfog0KhCSp/ms7d75ZEhGqAxi31RJiJVB3w7jQjAqSPucXJeK6wNDMKtSckRx7/ 0UTxPsWUpL/63w2enSQfin+i2lCuj8EQVLqa0ljfUQXZN5iY7y91MRSPjrJeHEIoQ2ak I3wCG2grDqYIWLGeNjtdJ/CG8xn43i079NvsQ+VvTp4JeiTBttZnKYYgdZlJiErmfiGo KWMM/2HT1CM46mCQABrbd87P3uJgXrUY6NEsPq/n1ndgg/mhh2YgSAMLl8+wxfk34pN6 ELz75gTONLPgNVIGbIKwKLrFbuMVm5GL8Oe6pFVNgPKAFDZgyQlRNtKBXqK9oFbO8T/H zqXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qh23si2129741ejb.351.2020.06.04.12.57.50; Thu, 04 Jun 2020 12:58:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729842AbgFDQ1r (ORCPT + 99 others); Thu, 4 Jun 2020 12:27:47 -0400 Received: from smtprelay0020.hostedemail.com ([216.40.44.20]:50000 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729641AbgFDQ1r (ORCPT ); Thu, 4 Jun 2020 12:27:47 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 3284018127182; Thu, 4 Jun 2020 16:27:46 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:965:966:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1536:1559:1593:1594:1711:1714:1730:1747:1777:1792:2196:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3622:3876:3877:4321:4385:4390:4395:5007:6114:6312:6642:7903:10004:10400:10848:11232:11658:11914:12196:12296:12297:12740:12760:12895:13069:13311:13357:13439:14659:14721:21080:21627:30054:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: cat20_611517626d98 X-Filterd-Recvd-Size: 967 Received: from XPS-9350.home (unknown [47.151.136.130]) (Authenticated sender: joe@perches.com) by omf11.hostedemail.com (Postfix) with ESMTPA; Thu, 4 Jun 2020 16:27:45 +0000 (UTC) Message-ID: Subject: Re: [PATCH] coccinelle: api: add kzfree script From: Joe Perches To: Denis Efremov , Julia Lawall Cc: cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org Date: Thu, 04 Jun 2020 09:27:43 -0700 In-Reply-To: <20200604140805.111613-1-efremov@linux.com> References: <20200604140805.111613-1-efremov@linux.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.2-0ubuntu1 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, 2020-06-04 at 17:08 +0300, Denis Efremov wrote: > Check for memset() with 0 followed by kfree(). Perhaps those uses should be memzero_explicit or kvfree_sensitive.