guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there any security risk related to the use of the reader?


From: Matt Wette
Subject: Re: Is there any security risk related to the use of the reader?
Date: Sun, 25 Feb 2018 09:29:25 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0



On 02/25/2018 07:35 AM, Amirouche Boubekki wrote:
I have procedures like that in my program:

(define-public (scm->string scm)
  (call-with-output-string
    (lambda (port)
      (write scm port))))

(define-public (string->scm string)
  (call-with-input-string string read))

Is it safe to pass to this procedures input from third parties?

TIA!


maybe check (ice-9 sandbox), explained in section 6.18.12 of the 2.2.3 manual



reply via email to

[Prev in Thread] Current Thread [Next in Thread]