Check for alloction failure on npt_alloc() for RTA_MULTIPATH
attributes in nlattr_get_multipath().
Also, add tests for maximum number of rtnexthop in rtnetlink.
Reported by: Joshua Rogers of AISLE Research Team
MFC after: 3 days
Differential D56954
rtnetlink: Check for allocation failure in nlattr_get_multipath() Authored by pouria on Mon, May 11, 9:23 PM. Tags None Referenced Files
Details
Check for alloction failure on npt_alloc() for RTA_MULTIPATH Reported by: Joshua Rogers of AISLE Research Team Send more than 22 RTA_MULTIPATH in a single request.
Diff Detail
Event Timeline
Comment Actions Use ENOMEM instead.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||