Comment 1 for bug 1933832

Revision history for this message
Alex Murray (alexmurray) wrote :

Thanks for reporting this issue - this file comes from the xserver-xorg source package so I am adding that as an affected package - I also see there is a similar pattern in apport/ui.py itself, plus the openjdk source packages all have similar logic there too and would likely be affected as well.

In this case it could easily be handled by changing these scripts to be more strict when parsing out the Pid, as follows::

pid_line = re.search("Pid:\t([0-9]+)\n", report["ProcStatus"])

I'll look at constructing patches based on this approach.