Project

General

Profile

Actions

Bug #3684

closed

pfiles crashes on processes with no files

Added by Robert Mustacchi over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
cmd - userland programs
Start date:
2013-04-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

This was noticed when trying to run pfiles on your own login shell. This one is pretty straightforward. The code in question here checks to see if we have a circular reference, but doesn't actually check to make sure the list itself is non-empty. We crashed simply because we have zero files in this process.

Actions

Also available in: Atom PDF