Bug #5868
closed
Make checks in inet_matchaddr() more robust
Added by Yuri Pankov about 7 years ago.
Updated about 6 years ago.
Category:
lib - userland libraries
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.
- Status changed from New to Pending RTI
- % Done changed from 50 to 90
- 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>
Also available in: Atom
PDF