[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAm8cU40Afrka2uw03s-xjzkQo9sLPfyAVRyShdKLzr16dBy+A@mail.gmail.com>
Date: Thu, 1 Oct 2015 20:46:50 +0530
From: Ronit Halder <ronit.crj@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Lidza Louina <lidza.louina@...il.com>, devel@...verdev.osuosl.org,
Greg KH <gregkh@...uxfoundation.org>,
DaeSeok Youn <daeseok.youn@...il.com>,
driverdev-devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: dgap: fix memory leak in dgap_parsefile()
> Why not just reject it earlier instead of allocating more data?
I agree on your point.
But we have to make different mechanism for that and my patch is only
to fix the current code.
regards
--
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