FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

LinkBack Thread Tools
Old 08-17-2012, 04:02 AM
"Fabio M. Di Nitto"
Default cluster: RHEL6 - fsck.gfs2: Fix buffer overflow in get_lockproto_table

On 08/16/2012 11:01 PM, Andrew Price wrote:
> Gitweb: http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=f796ee8752712e9e523e 1516bb9165b274552753
> Commit: f796ee8752712e9e523e1516bb9165b274552753
> Parent: 638deec0ccbf45862eee97294f09ba9d6b3f56d0
> Author: Andrew Price <anprice@redhat.com>
> AuthorDate: Sat Jul 7 22:03:24 2012 +0100
> Committer: Andrew Price <anprice@redhat.com>
> CommitterDate: Thu Aug 16 21:54:56 2012 +0100
> fsck.gfs2: Fix buffer overflow in get_lockproto_table
> Coverity discovered a buffer overflow in this function where an overly
> long cluster name in cluster.conf could cause a crash while repairing
> the superblock. This patch fixes the bug by making sure the lock table
> is composed sensibly, limiting the fsname to 16 chars as documented, and
> only allowing the cluster name (which doesn't seem to have a documented
> max size) to use the remaining space in the locktable name string.

cluster name is max 16 bytes too (including ). It's actually verified
by cman at startup so it can't be longer than that.


Thread Tools

All times are GMT. The time now is 10:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org