[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] [PATCH] Range check for cached_styles[]
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] [PATCH] Range check for cached_styles[] |
Date: |
Fri, 6 Jan 2006 20:40:27 -0500 |
User-agent: |
Mutt/1.3.27i |
On Sat, Jan 07, 2006 at 01:43:21AM +0300, Andrew Belov wrote:
>
> When compiled with color style support, Lynx may corrupt its own memory
> on large screens, spattering data beyond a 128x64 "style cache" array.
>
> Attached is a patch that introduces a range check at relevant locations.
> The cache size is unchanged, perhaps someone more concerned with
> performance would be willing to convert it into a dynamic buffer.
thanks (I'd noticed the fixed array, but not the place where you added
the check).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net