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

Also available in: Atom PDF