Tongsuo-Project / Tongsuo

铜锁/Tongsuo is a Modern Cryptographic Primitives and Protocols Library
https://www.tongsuo.net
Apache License 2.0
1.15k stars 184 forks source link

Fix coverity issues, CID 471315 and 356192 #623

Closed dongbeiouba closed 4 months ago

dongbeiouba commented 5 months ago

471315, EC_POINTS_new: Reads target of a freed pointer

356192, pkey_dh_derive: Out-of-bounds access to a buffer

Checklist