* [Cluster-devel] [PATCH] dlm: check the maximum size of a request from user [not found] <1347200218-3697-1-git-send-email-levinsasha928@gmail.com> @ 2012-09-10 15:43 ` David Teigland 0 siblings, 0 replies; only message in thread From: David Teigland @ 2012-09-10 15:43 UTC (permalink / raw) To: cluster-devel.redhat.com On Sun, Sep 09, 2012 at 04:16:58PM +0200, Sasha Levin wrote: > device_write only checks whether the request size is big enough, but it doesn't > check if the size is too big. > > At that point, it also tries to allocate as much memory as the user has requested > even if it's too much. This can lead to OOM killer kicking in, or memory corruption > if (count + 1) overflows. thanks, pushed to next ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-10 15:43 UTC | newest] Thread overview: (only message) (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1347200218-3697-1-git-send-email-levinsasha928@gmail.com> 2012-09-10 15:43 ` [Cluster-devel] [PATCH] dlm: check the maximum size of a request from user David Teigland
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).