Do not include the user's .screenrc in the apport generated crash report

Fixes LP: #1827202 (CVE-2019-7306).
This commit is contained in:
Paride Legovini 2019-05-04 16:57:13 +02:00
parent 48ff28b3d0
commit 67a2bed597

View file

@ -10,4 +10,3 @@ from os import path
def add_info(report):
attach_related_packages(report, ['byobu*', 'screen*'])
report['Binaries'] = command_output(['sh', '-c', 'ls -alF /usr/bin/screen* /usr/bin/byobu*'])
attach_file_if_exists(report, path.expanduser('~/.screenrc'), 'ScreenRC')