Random text in patch file crashes Purr Data
Attached is a "patch" file which in fact only contains the text 404 NOT FOUND
. (I actually came across this in a lecture today when a student got this file while attempting to download one of my sample patches from cloud storage.) Trying to open this file with Purr Data crashes it with a segfault, on Linux at least.
Now this file certainly is not a proper Pd patch, but IMHO Purr Data shouldn't crash trying to load it, but give a sensible error message instead. That's what vanilla (0.48.1) does (it gives the error message float: no such object
, which isn't all that sensible either, but at least it doesn't crash), so apparently our patch loading code still deviates from vanilla's there.