|
From: <sv...@va...> - 2009-10-26 16:14:19
|
Author: bart
Date: 2009-10-26 16:14:04 +0000 (Mon, 26 Oct 2009)
New Revision: 10905
Log:
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.
Modified:
trunk/drd/drd_main.c
Modified: trunk/drd/drd_main.c
===================================================================
--- trunk/drd/drd_main.c 2009-10-20 18:13:26 UTC (rev 10904)
+++ trunk/drd/drd_main.c 2009-10-26 16:14:04 UTC (rev 10905)
@@ -260,8 +260,6 @@
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);
|