From 7d9922bc863b00c66253a8d220b1469d43de924f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 26 Oct 2009 16:14:04 +0000 Subject: [PATCH] Removed the restriction that the size argument of drd_pre_mem_read_asciiz() should be less than 4096 bytes. This function is called a.o. for the path argument of the open() system call. This path can be longer than 4096 bytes. Should fix bug #211941. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10905 --- drd/drd_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drd/drd_main.c b/drd/drd_main.c index 03b523edfa..2a1a715355 100644 --- a/drd/drd_main.c +++ b/drd/drd_main.c @@ -260,8 +260,6 @@ static void drd_pre_mem_read_asciiz(const CorePart part, p++; size++; } - // To do: find out what a reasonable upper limit on 'size' is. - tl_assert(size < 4096); if (size > 0) { DRD_(trace_load)(a, size); -- 2.47.2