ec.c (eccurve_pyrichcompare): Check that second operand has correct type.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 18 Oct 2019 21:15:46 +0000 (22:15 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 02:50:40 +0000 (02:50 +0000)
commit7f8c2476ae775cfe27be5a216cebb6ad35432185
treea25911afcaa891b070b514f1d043239fc861e611
parent3383fdc17163be5cab0f0a632ffc64816a3e12ba
ec.c (eccurve_pyrichcompare): Check that second operand has correct type.

A segfault waiting to happen, which has been lurking since the
beginning.
ec.c