Add a unit test that fails before applying the patch and doesn't after the patch (in skeleton only)
Don't do anything to the Null KFileItems.
Could someone that was able to reproduce the crash can test the patch to see if it really fixes the crash?Create a temporary list with the modified items. After the original list has been processed, the temporary list becomes the original list.
i.e. Don't change the items in the list while it is being processed.