Project

General

Profile

Actions

Bug #5868

closed

Make checks in inet_matchaddr() more robust

Added by Yuri Pankov about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2015-04-24
Due date:
% Done:

100%

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

Description

Currently, inet_matchaddr() doesn't check if string->address conversion was successful, fix it.
Don't use err() in shared library to report memory allocation failure, rather set errno to ENOMEM.

Actions #1

Updated by Yuri Pankov about 6 years ago

  • Status changed from New to Pending RTI
  • % Done changed from 50 to 90
Actions #2

Updated by Electric Monk about 6 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 90 to 100

git commit 03b59f7842b50eda32f941744a5d94a55e47ba26

commit  03b59f7842b50eda32f941744a5d94a55e47ba26
Author: Yuri Pankov <yuri.pankov@nexenta.com>
Date:   2016-04-04T21:19:37.000Z

    5868 Make checks in inet_matchaddr() more robust
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF