Project

General

Profile

Actions

Bug #5097

closed

psignal and psiginfo don't handle NULL arguments correctly

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

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2014-08-15
Due date:
% Done:

100%

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

Description

The standard (and other implementations) clearly indicate that when NULL (or an empty string) is passed in for the message to psignal and psiginfo that instead of crashing, we should omit any message, colon, and space.

Actions #1

Updated by Electric Monk about 5 years ago

  • Status changed from New to Closed

git commit 49add8ec88f479abb39ea7a1962c18ffd9b7a046

commit  49add8ec88f479abb39ea7a1962c18ffd9b7a046
Author: Robert Mustacchi <rm@joyent.com>
Date:   2017-06-05T20:48:33.000Z

    5097 psignal and psiginfo don't handle NULL arguments correctly
    Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
    Reviewed by: Jason King <jason.brian.king@gmail.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF