Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756578Ab3IKTbd (ORCPT ); Wed, 11 Sep 2013 15:31:33 -0400 Received: from smtp.outflux.net ([198.145.64.163]:41956 "EHLO smtp.outflux.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752613Ab3IKTbc (ORCPT ); Wed, 11 Sep 2013 15:31:32 -0400 Date: Wed, 11 Sep 2013 12:30:40 -0700 From: Kees Cook To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Dan Carpenter , Joe Perches , Randy Dunlap , George Spelvin , Jiri Kosina , Jan Beulich , Eldad Zack Subject: [PATCH] vsprintf: drop comment claiming %n is ignored Message-ID: <20130911193040.GA16688@www.outflux.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-HELO: www.outflux.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 853 Lines: 31 The %n format is not ignored, so remove the incorrect comment about it. Signed-off-by: Kees Cook --- lib/vsprintf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 26559bd..d25d1f8 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -1576,7 +1576,6 @@ qualifier: * case. * %*ph[CDN] a variable-length hex string with a separator (supports up to 64 * bytes of the input) - * %n is ignored * * ** Please update Documentation/printk-formats.txt when making changes ** * -- 1.7.9.5 -- Kees Cook Chrome OS Security -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/