Fix a number of static analysis issues #3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | rctest: Fix possible overruntools/ | +2 | 1 reply | |
| 2/9 | mgmt-tester: Fix buffer overruntools/ | +1 | 0 replies | |
| 3/9 | l2test: Add missing error checkingtools/ | +5 | 0 replies | |
| 4/9 | rfkill: Avoid using a signed int for an unsigned variablesrc/ | +1 | 0 replies | |
| 5/9 | shared/mainloop: Fix integer overflowsrc/ | +2 | 0 replies | |
| 6/9 | sdp: Fix ineffective error guardlib/ | +4 | 0 replies | |
| 7/9 | obexd: Fix buffer overrungobex/ | +1 | 0 replies | |
| 8/9 | bap: Fix more memory leaks on errorprofiles/ | +4 | 0 replies | |
| 9/9 | avdtp: Fix manipulating struct as an arrayprofiles/ | +22 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [BlueZ 0/9] Fix a number of static analysis issues #3
14 defects fixed, and 1 error check added.
Let me know whether there's any problems with the implementation, I'm thinking in particular of the avdtp changes which are pretty invasive.
Cheers
Bastien Nocera (9):
rctest: Fix possible overrun
mgmt-tester: Fix buffer overrun
l2test: Add missing error checking
rfkill: Avoid using a signed int for an unsigned variable shared/mainloop: Fix integer overflow
sdp: Fix ineffective error guard
obexd: Fix buffer overrun
bap: Fix more memory leaks on error
avdtp: Fix manipulating struct as an array
gobex/gobex.c | 2 +- lib/sdp.c | 8 ++++---- profiles/audio/avdtp.c | 33 ++++++++++++++++++++++----------- profiles/audio/bap.c | 5 ++++- src/rfkill.c | 2 +- src/shared/mainloop-notify.c | 3 ++- tools/l2test.c | 5 +++++ tools/mgmt-tester.c | 2 +- tools/rctest.c | 3 ++- 9 files changed, 42 insertions(+), 21 deletions(-)
Signature · 1 line
2.45.1