From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 5 Dec 2013 15:57:35 +0300 From: Dan Carpenter To: walter harms Subject: Re: [patch] mtd: sm_ftl: heap corruption in sm_create_sysfs_attributes() Message-ID: <20131205125735.GX5443@mwanda> References: <20131205110235.GA14728@elgon.mountain> <52A06B00.7070309@bfs.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52A06B00.7070309@bfs.de> Cc: linux-mtd@lists.infradead.org, kernel-janitors@vger.kernel.org, David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Yeah, good point. kstrndup() is cleaner. I will resend. regards, dan carpenter