[OpenBIOS] [PATCH] herewrite: check for dictionary overflow

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Apr 12 12:15:55 CEST 2010


Igor V. Kovalenko wrote:

> From: Igor V. Kovalenko <igor.v.kovalenko at gmail.com>
> 
> - add dictlimit variable to store dictionary memory size
> - change herewrite() to check for overflow if dictlimit is set
> - sparc64: set dictlimit to allocated amount

This patch looks great in that it correctly picks up on the overflow 
condition when added to r740. If you could update it so that it works on 
all archs then I'm happy to apply it.


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list