Fixes for build with -Dsanitize=undefined
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 2 repliesIn review
- v11 patch 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | bus/fslmc: fix use after rte_freedrivers/ | +2 | 0 replies | |
| 2/5 | net/bnxt: fix use after freedrivers/ | +10 | 0 replies | |
| 3/5 | net/bnx2x: use RTE_BIT32drivers/ | +65 | 0 replies | |
| 4/5 | net/qede: fix use after freedrivers/ | +12 | 0 replies | |
| 5/5 | vhost: use strlcpy instead of strncpylib/ | +1 | 2 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Bruce Richardson |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/5] Fixes for build with -Dsanitize=undefined
Recent bug report https://bugs.dpdk.org/show_bug.cgi?id=1605
highlighted that no build is done with -Dsanitize=address,undefined. Doing a test build showed some new issues that were not being reported.
Note: a couple of these required introducing the equivalent _FOREACH_SAFE variant macros. These are in FreeBSD and in DPDK windows versions of queue.h but never made it to Linux sys/queue.h. Put the macro in the file where used (rather than a common spot) to make backporting the fixes easier.
Stephen Hemminger (5):
bus/fslmc: fix use after rte_free
net/bnxt: fix use after free
net/bnx2x: use RTE_BIT32
net/qede: fix use after free
vhost: use strlcpy instead of strncpy
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 3 +- drivers/net/bnx2x/ecore_reg.h | 130 +++++++++++------------ drivers/net/bnxt/bnxt_filter.c | 11 +- drivers/net/qede/qede_filter.c | 20 ++-- lib/vhost/socket.c | 3 +- 5 files changed, 90 insertions(+), 77 deletions(-)
Signature · 1 line
2.45.2