Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Frank Barknecht (fbar)
Assigned to: Miller Puckette (millerpuckette)
Summary: Malformed data at end of patch is treated as sender
When opening a patch file Pd doesn't check correctly if
all messages are well-formed. Inserting a line at end
of a patch file, that starts with a symbol and ends
with a ";" will treat the leading symbol as a
receive-target and will send the rest of the line to
For example inserting:
pd dsp 1;
at the end of a patch will switch on audio, even when
the patch is started with "pd -noloadbang".
While this message is harmless, other messages may do
nasty things and open a security hole.
Attached is a patch that illustrates this behaviour,
also see this pd-list message thread: