Project

General

Profile

Bug #8673

mdb_pid2proc() and consumers should honor return type

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
mdb - modular debugger
Start date:
2017-09-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The mdb_pid2proc() function prototype claims it returns uintptr_t but the code returns NULL.

#1

Updated by Electric Monk over 3 years ago

  • Status changed from New to Closed

git commit 75cebdd12313b8cc98dc8cc923adfb0961d3bb1a

commit  75cebdd12313b8cc98dc8cc923adfb0961d3bb1a
Author: Ryan Zezeski <rpz@joyent.com>
Date:   2017-10-05T14:50:06.000Z

    8672 proc_t changes broke genunix dmods and walker
    8673 mdb_pid2proc() and consumers should honor return type
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Jason King <jason.king@joyent.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF