Empty path crashes Windows GUI version

Here you can discuss and share functionality improvements and helper programs to make Context Free better.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
flembobs
Posts: 47
Joined: Tue Oct 09, 2012 3:00 pm

Empty path crashes Windows GUI version

Post by flembobs »

Context Free will crash if it attempts to render an empty path.

E.g.

startshape EMPTY[]

path EMPTY
{
}

Will crash the program and cause you to lose unsaved data. Opening a file with an empty PATH will cause the program to crash as well.

Discovered with the latest Context Free on Windows 8.1.

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Re: Empty path crashes Windows GUI version

Post by MtnViewJohn »

It's a null pointer dereference.

Post Reply