From patchwork Wed Mar 11 09:32:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takashi Iwai X-Patchwork-Id: 11431265 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ECC86921 for ; Wed, 11 Mar 2020 09:32:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D2A742146E for ; Wed, 11 Mar 2020 09:32:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728872AbgCKJcg (ORCPT ); Wed, 11 Mar 2020 05:32:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:32912 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728255AbgCKJcg (ORCPT ); Wed, 11 Mar 2020 05:32:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 98CA5B382; Wed, 11 Mar 2020 09:32:34 +0000 (UTC) From: Takashi Iwai To: Bartlomiej Zolnierkiewicz Cc: linux-fbdev@vger.kernel.org Subject: [PATCH 0/3] video: Use scnprintf() for avoiding potential buffer overflow Date: Wed, 11 Mar 2020 10:32:27 +0100 Message-Id: <20200311093230.24900-1-tiwai@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Hi, here is a series of trivial patches just to convert suspicious snprintf() usages with the more safer one, scnprintf(). Takashi === Takashi Iwai (3): video: omapfb: Use scnprintf() for avoiding potential buffer overflow video: omap2: Use scnprintf() for avoiding potential buffer overflow video: uvesafb: Use scnprintf() for avoiding potential buffer overflow drivers/video/fbdev/omap/omapfb_main.c | 14 +++++++------- drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c | 8 ++++---- drivers/video/fbdev/uvesafb.c | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-)