From: Tedd Ho-Jeong An <hj.tedd.an@gmail.com>
To: linux-bluetooth@vger.kernel.org
Cc: Tedd Ho-Jeong An <tedd.an@intel.com>
Subject: [BlueZ PATCH 0/9] Fix unchecked return value
Date: Mon, 18 Oct 2021 10:28:24 -0700 [thread overview]
Message-ID: <20211018172833.534191-1-hj.tedd.an@gmail.com> (raw)
From: Tedd Ho-Jeong An <tedd.an@intel.com>
This patch series fixes the unchecked return value(CWE-252) issues
reported by the Coverity scan.
The idea is to make the change as simple as possible without changing
the functional flow. So, it logs the output when the function fails
after checking the return value.
Tedd Ho-Jeong An (9):
device: Fix unchecked return value
adapter: Fix unchecked return value
attrib-server: Fix unchecked return value
plugins/admin: Fix unchecked return value
profiles/a2dp: Fix unchecked return value
profiles/input: Fix unchecked return value
mesh: Fix unchecked return value
obexd: Fix unchecked return value
peripheral: Fix unchecked return value
mesh/keyring.c | 6 +-
mesh/mesh-io-unit.c | 6 +-
mesh/rpl.c | 22 ++--
mesh/util.c | 11 +-
obexd/client/transfer.c | 12 +-
obexd/plugins/pcsuite.c | 4 +-
obexd/src/main.c | 4 +-
peripheral/main.c | 3 +-
plugins/admin.c | 15 ++-
profiles/audio/a2dp.c | 33 +++++-
profiles/input/device.c | 6 +-
src/adapter.c | 249 ++++++++++++++++++++++++++++++++++------
src/attrib-server.c | 21 +++-
src/device.c | 141 +++++++++++++++++++----
14 files changed, 441 insertions(+), 92 deletions(-)
--
2.25.1
next reply other threads:[~2021-10-18 17:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 17:28 Tedd Ho-Jeong An [this message]
2021-10-18 17:28 ` [BlueZ PATCH 1/9] device: Fix unchecked return value Tedd Ho-Jeong An
2021-10-18 18:01 ` bluez.test.bot
2021-10-18 17:28 ` [BlueZ PATCH 2/9] adapter: " Tedd Ho-Jeong An
2021-10-18 17:28 ` [BlueZ PATCH 3/9] attrib-server: " Tedd Ho-Jeong An
2021-10-18 17:28 ` [BlueZ PATCH 4/9] plugins/admin: " Tedd Ho-Jeong An
2021-10-18 17:28 ` [BlueZ PATCH 5/9] profiles/a2dp: " Tedd Ho-Jeong An
2021-10-18 17:28 ` [BlueZ PATCH 6/9] profiles/input: " Tedd Ho-Jeong An
2021-10-18 17:28 ` [BlueZ PATCH 7/9] mesh: " Tedd Ho-Jeong An
2021-10-18 17:28 ` [BlueZ PATCH 8/9] obexd: " Tedd Ho-Jeong An
2021-10-18 17:28 ` [BlueZ PATCH 9/9] peripheral: " Tedd Ho-Jeong An
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211018172833.534191-1-hj.tedd.an@gmail.com \
--to=hj.tedd.an@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=tedd.an@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.