AlistairNWard/vcfCTools — pull request #2 by kmsquire (2011-12-03 10:13:37+00:00)
Title: Patch for issue #1 (garbled output, segfault on intersection of two large vcf files)

iterator becomes invalid, and is then incremented incorrectly (at least with g++ 4.1), which causes a segfault. Erasing all relevant records after iterating over fixes the problem.