rtnl: Fix address conversion buffer overflow.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rtnl: Fix address conversion buffer overflow.ell/ ell/ | +22 | 2 replies | |
| 2/3 | unit: Add l_rtnl_address_get_address() test case.unit/ | +26 | 0 replies | |
| 3/3 | Makefile: Bump library 'current' version.Makefile.am | +2 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] rtnl: Fix address conversion buffer overflow.
Some l_rtnl functions that return a stringified address could potentially overrun a user supplied buffer of insufficient length. Add a buffer length argument to prevent ELL from making incorrect assumptions. Impacted functions are l_rtnl_address_get_address(), l_rtnl_route_get_gateway(), and l_rtnl_route_get_prefsrc().
Ossama Othman (3):
rtnl: Fix address conversion buffer overflow.
unit: Add l_rtnl_address_get_address() test case.
Makefile: Bump library 'current' version.
Makefile.am | 4 ++-- ell/rtnl.c | 28 +++++++++++++++++----------- ell/rtnl.h | 8 +++++--- unit/test-rtnl.c | 26 ++++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 16 deletions(-)
Signature · 1 line
2.32.0