summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorejanchivdorj <ejanchivdorj@tableau.com>2021-05-24 23:38:17 -0700
committerDaniel Stenberg <daniel@haxx.se>2021-05-25 11:22:09 +0200
commita63dae5d078b24dc441e421a37fa7daf09fc4768 (patch)
tree8c84b13ed586c601471c54c47cdbadf6bf1edff0 /m4
parent643ec296456ba98c536857fce3ecfd021d44d913 (diff)
downloadcurl-a63dae5d078b24dc441e421a37fa7daf09fc4768.tar.gz
sectransp: fix EXC_BAD_ACCESS caused by uninitialized buffer
When the SecCertificateCopyCommonName function fails, it leaves common_name in a invalid state so CFStringCompare uses the invalid result, causing EXC_BAD_ACCESS. The fix is to check the return value of the function before using the name. Closes #7126
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions