Add missing infinity checks #110 pull sipa wants to merge 3 commits into bitcoin-core:master from sipa:noinf changing 5 files +51 −13 Conversation Commits3 Files5 Check sipa commented at 12:13 PM on November 18, 2014: contributor This adds infinity checks when serializing or recovering public keys, and a test for it. Either fix is enough to solve #109. Make secp256k1_eckey_pubkey_serialize fail for infinity bbe67d8b29 Test whether recovered public keys are not infinity Fixes a bug discovered by Sergio Demian Lerner. 4861f83686 Add test that recovering infinity fails 3bf029d676 sipa commented at 12:14 PM on November 18, 2014: contributor Ping @SergioDemianLerner. gmaxwell commented at 4:39 PM on November 18, 2014: contributor ACK sipa merged this on Nov 18, 2014 sipa closed this on Nov 18, 2014 sipa referenced this in commit ad2028f989 on Nov 18, 2014 Contributorssipagmaxwell Linked (view graph)#109 Missing point-at-infinity check in int secp256k1_ecdsa_sig_recover() can cause non-deterministic results