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: Amirouche Boubekki
Subject: Re: Is there any security risk related to the use of the reader?
Date: Sun, 25 Feb 2018 18:35:10 +0100
User-agent: Roundcube Webmail/1.1.2

On 2018-02-25 16:35, 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!

Another question: is 'write' deterministic?




reply via email to

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