Changeset: 6342984a4df9 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6342984a4df9 Modified Files: sql/backends/monet5/rel_bin.c Branch: Jul2017 Log Message:
Potential null pointer dereference. diffs (12 lines): diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c --- a/sql/backends/monet5/rel_bin.c +++ b/sql/backends/monet5/rel_bin.c @@ -1583,7 +1583,7 @@ rel2bin_hash_lookup(backend *be, sql_rel h = stmt_unop(be, s, hf); } } - if (h->nrcols) { + if (h && h->nrcols) { if (!swap_rel) { return stmt_join(be, idx, h, 0, cmp_equal); } else { _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list