speechd_config executes Shell Commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
speech-dispatcher (Ubuntu) |
Triaged
|
Undecided
|
Luke Yelavich |
Bug Description
if espeak is installed , some functions in the script "speechd_config.py" can be used to execute Shell Commands.
------
Demo Example from the terminal type in :
theregrunner@mint17 : ~ $ python3
Python 3.4.0 (default, Apr 11 2014, 13:05:18)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import speechd_config
>>> speechd_
>>> speechd_
------
The problem is that the script uses os.system() commands when espeak is installed
/usr/lib/
line 34 - 39 :
def report(msg):
"""Output information messages for the user on stdout
and if desired, by espeak synthesis"""
print(msg)
if options.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python3-speechd 0.8-5ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-37-generic i686
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: i386
Date: Mon Jun 22 22:23:54 2015
InstallationDate: Installed on 2015-04-19 (64 days ago)
InstallationMedia: Linux Mint 17.1 "Rebecca" - Release i386 20150108
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: speech-dispatcher
UpgradeStatus: No upgrade log present (probably fresh install)
information type: | Public → Public Security |
Changed in speech-dispatcher (Ubuntu): | |
assignee: | nobody → Luke Yelavich (themuso) |
status: | New → Triaged |
Patch