In pgedit.cpp:797, strrchr() will return NULL if the given filename is lacking a dot. but the code doesn't check for it.
Therefore, feeding the program a filename without a dot results in a segfault as the subsequent strcmp() expects valid pointers.
Log in to post a comment.