[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] [PATCH] Range check for cached_styles[]

From: Andrew Belov
Subject: [Lynx-dev] [PATCH] Range check for cached_styles[]
Date: Sat, 07 Jan 2006 01:43:21 +0300 (MSK)

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.

Attachment: lynx2-8-6-dev16-cache-check-patch.gz
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]