]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: fix error handling in ras_mc_event_opendb()
authorAristeu Rozanski <aris@redhat.com>
Tue, 7 Jan 2020 19:49:19 +0000 (14:49 -0500)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 5 Feb 2020 05:56:41 +0000 (06:56 +0100)
commit3dca35f17effa102b7140d5554401ef2292425b7
tree341aa1bb0c9fdfc0cf0fa545fd849a685e38bcbb
parent0ba3d356b7b05ccc25e26a6b8536fa6ef7abb3c9
rasdaemon: fix error handling in ras_mc_event_opendb()

Found with covscan that the return value from ras_mc_prepare_stmt() and from
ras_mc_event_opendb() itself aren't checked.

Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
ras-events.c
ras-record.c