fix analyzer warnings
Status from this message: This series was applied to iproute2/iproute2.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | lib/fs: fix file leak in task_get_namelib/ | +3 | 0 replies | |
| 2/11 | ipmaddr: fix dereference of NULL on malloc() failureip/ | +8 | 0 replies | |
| 3/11 | iproute_lwtunnel: fix possible use of NULL when malloc() failsip/ | +13 | 0 replies | |
| 4/11 | tc_filter: fix unitialized warningtc/ | +4 | 0 replies | |
| 5/11 | tc_util fix unitialized warningtc/ | +1 | 0 replies | |
| 6/11 | tc_exec: don't dereference NULL on calloc failuretc/ | +4 | 0 replies | |
| 7/11 | m_action: fix warning of overwrite of const stringtc/ | +2 | 0 replies | |
| 8/11 | netem: fix NULL deref on allocation failuretc/ | +3 | 0 replies | |
| 9/11 | nstat: fix potential NULL derefmisc/ | +6 | 0 replies | |
| 10/11 | rdma/utils: fix some analyzer warningsrdma/ | +10 | 0 replies | |
| 11/11 | tc/prio: handle possible truncated kernel responsetc/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iproute2 00/11] fix analyzer warnings
Address some (but not all) of the issues reported by gcc 13 new analyzer. These are mostly just issues like not checking for malloc() failure.
Stephen Hemminger (11):
lib/fs: fix file leak in task_get_name
ipmaddr: fix dereference of NULL on malloc() failure
iproute_lwtunnel: fix possible use of NULL when malloc() fails
tc_filter: fix unitialized warning
tc_util fix unitialized warning
tc_exec: don't dereference NULL on calloc failure
m_action: fix warning of overwrite of const string
netem: fix NULL deref on allocation failure
nstat: fix potential NULL deref
rdma/utils: fix some analyzer warnings
tc/prio: handle possible truncated kernel response
ip/ipmaddr.c | 9 ++++++++- ip/iproute_lwtunnel.c | 18 +++++++++++++----- lib/fs.c | 4 +++- misc/nstat.c | 6 ++++++ rdma/utils.c | 10 ++++++++++ tc/m_action.c | 4 ++-- tc/q_netem.c | 3 +++ tc/q_prio.c | 2 ++ tc/tc_exec.c | 4 ++++ tc/tc_filter.c | 7 ++++--- tc/tc_util.c | 2 +- 11 files changed, 56 insertions(+), 13 deletions(-)
Signature · 1 line
2.39.2