From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754874AbbG1HHY (ORCPT ); Tue, 28 Jul 2015 03:07:24 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:40345 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751865AbbG1HHX (ORCPT ); Tue, 28 Jul 2015 03:07:23 -0400 Date: Tue, 28 Jul 2015 15:07:13 +0800 From: Herbert Xu To: Kees Cook Cc: linux-kernel@vger.kernel.org, "David S. Miller" , linux-crypto@vger.kernel.org Subject: Re: [PATCH] jent: use safe format string parameters Message-ID: <20150728070713.GF25287@gondor.apana.org.au> References: <20150724224127.GA29924@www.outflux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150724224127.GA29924@www.outflux.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2015 at 03:41:27PM -0700, Kees Cook wrote: > Since the API for jent_panic() does not include format string parameters, > adjust the call to panic() to use a literal string to avoid any future > callers from leaking format strings into the panic message. > > Signed-off-by: Kees Cook Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt