[plt-scheme] Is read safe for untrusted data?

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Fri Aug 5 09:18:28 EDT 2005

Robby Findler wrote:
> Read will not do any evaluation, but might allocate an arbitrary amount
> of memory. You can use the 3m collectors with custodian-limit-memory to
> control this, or you might use read-bytes-avail and friends to limit
> the amount of data you read.

Jepri, see <http://schemecookbook.org/view/Cookbook/DynamicUntrustedEval>
for how to evaluate an expression from an untrusted source.

-- 
Jens Axel Søgaard



Posted on the users mailing list.