chiark / gitweb /
ec.c: Fix embarrassing use-after-free in EC point hashing.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 28 May 2017 18:03:08 +0000 (19:03 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 15 Jun 2017 23:47:45 +0000 (00:47 +0100)
commit9acb0b54f55caafbb0d5ec603238832ffac573f2
tree20eb610a759f1eab1e6ca86ef885888e3a4f60e1
parent221888a2405c5d145b123f63e397f131b76e8124
ec.c: Fix embarrassing use-after-free in EC point hashing.

The hashed data is sometimes (unpredictably) mangled by freeing causing
hash mismatches, which is annoying.  Also, obviously incorrect.
ec.c