From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Caulfeld Date: Thu, 17 Jan 2008 10:25:28 +0000 Subject: [Cluster-devel] [PATCH] dlm: Sanity check namelen before copying it Message-ID: <478F2D18.5030303@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit The 32/64 compatibility code in the DLM does not check the validity of the lock name length passed into it, so it can easily overwrite memory if the value is rubbish (as early versions of libdlm can cause with unlock calls, it doesn't zero the field). This patch restricts the length of the name to the amount of data actually passed into the call. Signed-Off-By: Patrick Caulfield -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ppcdiff.upstream URL: