unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Is there any security risk related to the use of the reader?
@ 2018-02-25 15:35 Amirouche Boubekki
  2018-02-25 17:29 ` Matt Wette
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Amirouche Boubekki @ 2018-02-25 15:35 UTC (permalink / raw)
  To: Guile User

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-03-02  3:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-25 15:35 Is there any security risk related to the use of the reader? Amirouche Boubekki
2018-02-25 17:29 ` 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

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).