the rib_lookup_prefix_plen() will fill the rnd data structure
in handle_rtm_getroute.
Therefore, only call rt_get_rnd() when it's necessary.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 71131 Build 68014: arc lint + arc unit
Event Timeline
Comment Actions
This can't be correct cause now rt_get_rnd() may receive a NULL argument and inside it definitely dereferences it.