[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-issues
Subject:    =?UTF-8?B?W0lzc3VlIDI1MDhdICBjb21taXRpbmcgYWRkIG9mIHZlcnkgZGVlcA==?=
From:       rooneg () tigris ! org
Date:       2006-02-22 22:27:35
Message-ID: 20060222222735.17435.qmail () tigris ! org
[Download RAW message or body]

http://subversion.tigris.org/issues/show_bug.cgi?id=2508






------- Additional comments from rooneg@tigris.org Wed Feb 22 14:27:33 -0800 2006 -------
The actual underlying cause of the problem is in read_header_block of
libsvn_fs_fs/fs_fs.c, it has a 1024 byte buffer used for reading lines out of a
file.  Bumping this up to something larger allows you to increase the maximum
depth (although I imagine you'll hit other fixed size buffers later on, such as
when reading the changes lines out of a revision).  I need to think about what
the best way to deal with this is.  There has to be a limit at some point,
otherwise the server will be able to run out of memory on very large paths, but
it should certainly give a more reasonable error message when the limit is hit.
 I'd also like to see the limit sufficiently higher than the usual PATH_MAX
values on common platforms so that you're unlikely to hit it in most cases.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@subversion.tigris.org
For additional commands, e-mail: issues-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic