Skip to content

Fix issues found with static analyzer

[email protected] ofono 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6phonebook: Fix potential buffer overflowsrc/phonebook.c+1 -10 replies
2/6stemodem: Fix buffer size allocated for rtnl_msgdrivers/stemodem/caif_rtnl.c+3 -20 replies
3/6sms: Fix buffer size allocated for SMS PDUdrivers/atmodem/sms.c src/stkutil.c+2 -20 replies
4/6atmodem: Fix potential buffer overflowdrivers/atmodem/sim.c+1 -10 replies
5/6emulator: Avoid potential null dereferencesrc/emulator.c+2 -10 replies
6/6voicecall: Avoid potential double freesrc/voicecall.c+0 -30 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/6] Fix issues found with static analyzer

From: Denis Grigorev <[email protected]>

This patch series fixes several minor issues found with SVACE static analyzer.

Denis Grigorev (6):
phonebook: Fix potential buffer overflow
stemodem: Fix buffer size allocated for rtnl_msg
sms: Fix buffer size allocated for SMS PDU
atmodem: Fix potential buffer overflow
emulator: Avoid potential null dereference
voicecall: Avoid potential double free

 drivers/atmodem/sim.c        | 2 +-
 drivers/atmodem/sms.c        | 2 +-
 drivers/stemodem/caif_rtnl.c | 5 +++--
 src/emulator.c               | 3 ++-
 src/phonebook.c              | 2 +-
 src/stkutil.c                | 2 +-
 src/voicecall.c              | 3 ---
 7 files changed, 9 insertions(+), 10 deletions(-)
Signature · 1 line
2.17.1