[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DDB9C85B850785449757F9914A034FCB445086E3@G9W0766.americas.hpqcorp.net>
Date: Wed, 6 Jan 2016 05:01:47 +0000
From: "Seymour, Shane M" <shane.seymour@....com>
To: Insu Yun <wuninsu@...il.com>,
"brking@...ibm.com" <brking@...ibm.com>,
"JBottomley@...n.com" <JBottomley@...n.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "taesoo@...ech.edu" <taesoo@...ech.edu>,
"yeongjin.jang@...ech.edu" <yeongjin.jang@...ech.edu>,
"insu@...ech.edu" <insu@...ech.edu>,
"changwoo@...ech.edu" <changwoo@...ech.edu>
Subject: RE: [PATCH] ipr: fix out-of-bounds null overwrite
> len = snprintf(fname, 99, "%s", buf);
> - fname[len-1] = '\0';
Since it appears that's the only time len is actually used in that function can
you please remove the variable len completely as part of the patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists