summaryrefslogtreecommitdiff
path: root/coverity/README
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-06-20 15:31:18 +0200
committerJeremy Allison <jra@samba.org>2017-06-20 18:50:06 +0200
commit67040cf61232dd1cdcc820237919ac1e073c31c2 (patch)
tree919c43468a514e74f866df43140321e4d1780083 /coverity/README
parente60aeb6f56a26019788442247361ed516bf965af (diff)
downloadsamba-67040cf61232dd1cdcc820237919ac1e073c31c2.tar.gz
pidl: Fix array range checks in python output
Without this, we generated code like if (ndr_table_dnsserver.num_calls < 0) { PyErr_SetString(PyExc_TypeError, "Internal Error, ndr_interface_call missing for py_DnssrvOperation_ndr_pack"); return NULL; } call = &ndr_table_dnsserver.calls[0]; This does not really make sense, and Coverity found comparing the unsigned num_calls against <0 a bit pointless. Should fix 138 Coverity findings and make the code a bit more correct. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'coverity/README')
0 files changed, 0 insertions, 0 deletions