Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ion ion
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 84
    • Issues 84
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • redox-os
  • ionion
  • Issues
  • #990
Closed
Open
Created Dec 11, 2020 by matu3ba@matu3baMaintainer

Unterminated single quotes may run arbitrary commands

bug: The shell does not create and error upon a wrong let binding with single quotes. It appears to run arbitrary commands, when further single quotes appear. If you are lucky, it creates a core dump.

expect: Not silently accepting a wrong grammar (for files). The REPL should also indicate, that the string is not terminated.

related: #959 (closed) #949 (closed)

code: input

let a = 'ab''

expect: output

ion: syntax error: unterminated single quote

version: f05b74e7

interaction: Alacritty with ion

context: terminal multiplexers may prevent faster core dump

Edited Dec 12, 2020 by matu3ba
Assignee
Assign to
Time tracking