remote: Make sure the user doesn't mess up with the REPL protocol.
authorLudovic Courtès <ludo@gnu.org>
Mon, 15 Jul 2019 15:58:01 +0000 (17:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 15 Jul 2019 16:27:22 +0000 (18:27 +0200)
commit6f8eb9f1d8bc8660349658602698db36965bba5d
treebeb22470b912971c8020a72ebc648dacb66fa822
parent5db07b971d5729d349152a4d7ddab80a235ac0a0
remote: Make sure the user doesn't mess up with the REPL protocol.

Reported by zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze).

* guix/remote.scm (trampoline): Wrap 'primitive-load' in
'with-output-to-port'.
guix/remote.scm