Make checks in inet_matchaddr() more robust
lib - userland libraries
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.
Updated by Electric Monk about 6 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 90 to 100
commit 03b59f7842b50eda32f941744a5d94a55e47ba26 Author: Yuri Pankov <firstname.lastname@example.org> Date: 2016-04-04T21:19:37.000Z 5868 Make checks in inet_matchaddr() more robust Reviewed by: Dan McDonald <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: Marcel Telka <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>