Minor strengthening of asserts.
commit72bc0a20cd0b2b3170d213947b6191f5a65114de
authorMihail Groza <unlupdestepa@gmail.com>
Fri, 24 Feb 2017 09:19:57 +0000 (24 09:19 +0000)
committerMihail Groza <unlupdestepa@gmail.com>
Fri, 24 Feb 2017 09:19:57 +0000 (24 09:19 +0000)
treecc348e2e003bb43d77f3a837af228b14eb91516e
parentd82c8129944f2346d43275a76f31da34ca66dd61
Minor strengthening of asserts.

While investigating the issue fixed by previous commit, found lots of
segmentation faults due to wrong memory access. Some of them could be
fixed by properly avoiding some computations for dubious memory. To at
least inoculate from other such mishaps, changed some of the obvious
asserts to fatal asserts in some of the affected files.

It is clear that this is a drop in an ocean, as there are lots of
asserts that obviously should be made fatal, and even more asserts for
which there is no fast way of knowing if they need to be fatal
(additional investigation required). Yet I'm just fixing the ones I've
seen (and all obvious in the files I've touched) instead of just letting
it pass, as long as I've been made aware of them.
src/constraint.c
src/constraintExpr.c
src/constraintGeneration.c
src/constraintResolve.c
src/ctbase.i
src/cttable.i
src/exprNode.c