[Cyrus-CVS] src/sieve by brong

brong at andrew.cmu.edu brong at andrew.cmu.edu
Sat Jan 31 09:53:46 EST 2009


Update of /afs/andrew.cmu.edu/system/cvs/src/sieve
In directory unix35.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/sieve

Modified Files:
	comparator.c 
Log Message:
Always strdup for regex sieve tests

If a body search was performed on a file that was an exact multiple
of the page size, then there was no slop in the mmap, and the test
for a trailing NULL caused segfaults.  It took a bunch of very rare
conditions, but it still happened sometimes!


--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/sieve/comparator.c.diff?r1=1.20&r2=1.21


More information about the Cyrus-cvs mailing list