Listing 8 lists the code that was modified in the source of the jfs_mount.c file to create a segmentation fault at line 109 by creating a null pointer exception.
In this example, if the Map on line 1 does not contain the person named "Bob," a null pointer exception will result on line 5 when the person is asked for his name.