]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls: avoid memory leak if sha256 call fails
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 Jun 2023 12:10:37 +0000 (14:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 Jun 2023 13:57:46 +0000 (15:57 +0200)
commita4a5e438ae533c9af5e97457ae424c9189545105
treed0454ab79937939adc61322c9d1b1bce110dffde
parentfdfc2bb6becbc65fda04f2af471ac467bae0b043
vtls: avoid memory leak if sha256 call fails

... in the pinned public key handling function.

Reported-by: lizhuang0630 on github
Fixes #11306
Closes #11307
lib/vtls/vtls.c