• Show log

    Commit

  • Hash : 7863523a
    Author : Russell Belfer
    Date : 2013-06-19T15:54:19

    Add tests and fix use of freed memory This adds some tests for updating the index and having it remove items to make sure that the iteration over the index still works even as earlier items are removed. In testing with valgrind, this found a path that would use the path string from the index entry after it had been freed. The bug fix is simply to copy the path of the index entry before doing any actual index manipulation.