When 'datum.values' or 'datum.keys' is NULL, some code path calling
into ovsdb_idl_txn_write__ triggers NULL deref. An example is below:
ovsrec_open_vswitch_set_cur_cfg(const struct ovsrec_open_vswitch
{
struct ovsdb_datum datum;
union ovsdb_atom key;
datum.n = 1;
datum.keys =
An exmplae pattern shown below:
void
ovsrec_ct_zone_index_set_external_ids(const struct ovsrec_ct_zone...
{
// 1. alloc_fn: Storage is returned from allocation function xmalloc.
// 2. var_assign: Assigning: datum = storage returned from xmalloc(24UL).
struct ovsdb_datum *datum =
Coverity shows the following memory leak in this code pattern:
void
ovsrec_ipfix_index_set_obs_domain_id(
{
struct ovsdb_datum datum;
// 1. alloc_fn: Storage is returned from allocation function xmalloc.
// 2. var_assign: Assigning: key = storage returned from xmalloc(16UL).
union
The three patches fix around 350 memory-related defects reported
by Coverity. With this series applied, Coverity still shows
around 130 defetcs.
Travis: https://travis-ci.org/github/williamtu/ovs-travis/builds/682347632
William Tu (3):
ovsdb-idlc: Fix memory leak reported by Coverity.
From: Mrs. Maria Nelsoma
Attn: My Dearest One,
I am the above Named person from Kuwait. I am married to Mr. Robert Nelsoma.
Who worked with Kuwait embassy in Benin Republic for Nine years before he died
in the year 2012. We were married for eleven years without a child. He died
after a brief
Dear Sir,
We got your company information through an exhaustive search.
Our scope is basically to search for foreign companies to bid for
contract supply on commission basis.
We are interested in buying your products in a larger quantity if only
you can supply and open for business.
Best