Project

General

Profile

Bug #3684

pfiles crashes on processes with no files

Added by Robert Mustacchi over 7 years ago. Updated over 7 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:

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.

#1

Updated by Robert Mustacchi over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)

Resolved in dfc0fed81813380fb526f1a003d3be17ab26ce3b.

Also available in: Atom PDF