From: Martin Str|mberg Message-Id: <200107101137.NAA01123@father.ludd.luth.se> Subject: Re: glob buffer overflow fix In-Reply-To: <3B4A416B.14717.344112@localhost> from "Mark E." at "Jul 9, 2001 11:42:35 pm" To: djgpp-workers AT delorie DOT com Date: Tue, 10 Jul 2001 13:37:53 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk According to Mark E.: > This patch adds buffer overflow checks to the output buffer. The idea is that > a filename in the output buffer can't be valid and won't match if its size is > greater or equal to 2000 bytes (or whatever impossible length). Any reason for not using MAXPATH (or PATH_MAX)? Right, MartinS