[PD-dev] [ pure-data-Bugs-1577739 ] Malformed data at end of patch is treated as sender
SourceForge.net
noreply at sourceforge.net
Mon Aug 4 19:01:25 CEST 2008
Bugs item #1577739, was opened at 2006-10-15 20:42
Message generated for change (Comment added) made by fbar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1577739&group_id=55736
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.
Category: puredata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Frank Barknecht (fbar)
Assigned to: Miller Puckette (millerpuckette)
Summary: Malformed data at end of patch is treated as sender
Initial Comment:
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
that receiver.
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:
http://lists.puredata.info/pipermail/pd-list/2006-10/043161.html
----------------------------------------------------------------------
>Comment By: Frank Barknecht (fbar)
Date: 2008-08-04 19:01
Message:
Logged In: YES
user_id=569446
Originator: YES
But as a feature it is rather broken, because the data at the end of the
file is deleted if you save the patch from Pd. And even the feature can be
build in Pd itself with a loadbang'd semicolon-message box, as matju
pointed out here:
http://lists.puredata.info/pipermail/pd-list/2006-10/043171.html
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2008-08-04 18:45
Message:
Logged In: YES
user_id=564396
Originator: NO
i think this is a feature
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1577739&group_id=55736
More information about the Pd-dev
mailing list