Skip to content

rtnl: Fix address conversion buffer overflow.

Ossama Othman ell 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rtnl: Fix address conversion buffer overflow.ell/rtnl.c ell/rtnl.h+22 -142 replies
2/3unit: Add l_rtnl_address_get_address() test case.unit/test-rtnl.c+26 -00 replies
3/3Makefile: Bump library 'current' version.Makefile.am+2 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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