Project

General

Profile

Actions

Bug #3918

closed

"pargs -l" dies on incomplete core dumps

Added by Robert Mustacchi almost 8 years ago. Updated almost 8 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Running "pargs -l" on an incomplete dump can result in the death of pargs itself:

print_cmdline+0x1b()
main+0x65e()
_start+0x6c()

The bug is simple; pargs is missing a NULL check around its use of pd_argv in print_cmdline().

Actions #1

Updated by Robert Mustacchi almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Resolved in 8f68126c6dc4f2178929233f0c7ccce877e973ca.

Actions

Also available in: Atom PDF