AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070620115611.72b30e97@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<mike.lee@onstor.com>,<dl-Data-Management@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E030E351F@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 20 Jun 2007 11:56:35 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Mike Lee" <mike.lee@onstor.com>
Cc: "dl-Data-Manag" <dl-Data-Management@onstor.com>
Subject: Re: Coverity question
Message-ID: <20070620115635.3f44b777@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E030E351F@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E030E351F@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Use malloc/free, for crying out loud.  You program like a donkey.

On Wed, 20 Jun 2007 11:31:44 -0700 "Mike Lee" <mike.lee@onstor.com>
wrote:

> Hi Guys:
> 
> I'm getting the following finding from Coverity:
> 
> From sm-fs/btree/btree.c:
> 
> Event stack_use_local_overflow: Local variable "index": stack use of
> 1816 bytes exceeds maximum single use of 1024 bytes 154 uint32
> index[FS_BTREE_MAXKEYS]; 
> 
> I am pretty certain that FS_BTREE_MAXKEYS is greater than 1024 by
> design: #define FS_BTREE_MAXKEYS \
>     ((PAGE_SIZE/(sizeof (fs_Extent) + sizeof (uint64) + sizeof
> (uint16))) - 1)
> 
> 
> So, does anyone have a recommendation on what to do with this issue?
> 
> Thanks.
> 
> -Mike
