Modified code that could potentialy cause a segfault.