unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Amirouche Boubekki <amirouche@hypermove.net>
To: Guile User <guile-user@gnu.org>
Subject: Is there any security risk related to the use of the reader?
Date: Sun, 25 Feb 2018 16:35:54 +0100	[thread overview]
Message-ID: <3798469bc8c299451807dfdc796146d7@hypermove.net> (raw)

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!

-- 
Amirouche ~ amz3 ~ http://www.hyperdev.fr



             reply	other threads:[~2018-02-25 15:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-25 15:35 Amirouche Boubekki [this message]
2018-02-25 17:29 ` Is there any security risk related to the use of the reader? Matt Wette
2018-02-25 17:38   ` Amirouche Boubekki
2018-02-25 17:35 ` Amirouche Boubekki
2018-02-25 17:35 ` Christopher Lemmer Webber
2018-02-25 17:46   ` Amirouche Boubekki
2018-02-28 22:35     ` Christopher Lemmer Webber
2018-03-01 23:56 ` Mark H Weaver
2018-03-02  3:42   ` Amirouche Boubekki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3798469bc8c299451807dfdc796146d7@hypermove.net \
    --to=amirouche@hypermove.net \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).