Commit 578f56e
committed
Test api.c: change more tests to use Expect instead of Assert
bio.c:
wolfSSL_BIO_flush(): check allocation to bio->ip succeeded.
internal.c:
InitSSL_Ctx(): set ctx->heap to heap if value passed in
ProcessPeerCerts(): check for error MEMORY_E too as a fatal parsing
error
ssl.c:
wolfSSL_shutdown(): SOCKET_ERROR_E is also an indication that the
socket is done, MEMORY_E is a fatal error
wolfSSL_Cleanup(): move free of memory fail couting to wolfSSL API
SessionTicketNoncePrealloc(): eror return must be non-zero
AddSessionToCache(): XFREE checks for NULL no need to do it before
call
wolfSSL_set_psk_use_session_callback(): ensure ssl is not NULL before
dereferencing
wolfSSL_SMIME_read_PKCS7(): check for error return from
wolfSSL_BIO_gets()
asn.c:
wc_MIME_parse_headers(): check allocation succeeded into nextHdr
compress.c:
wc_DeCompressDynamic(): free tmp on inflateInit2 failure
memory.c: rework where memory allocation failure counting code for when
WOFLSSL_STATIC_MEMORY is defined
wc_port.c:
wolfCrypt_Cleanup(): only call wc_MemFailCount_Free() when no
wolfSSL_Cleanup()1 parent 6697181 commit 578f56e
9 files changed
Lines changed: 10672 additions & 16921 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2069 | 2069 | | |
2070 | 2070 | | |
2071 | 2071 | | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
2075 | 2081 | | |
2076 | 2082 | | |
2077 | 2083 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
2157 | | - | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
2158 | 2163 | | |
2159 | 2164 | | |
2160 | 2165 | | |
| |||
13591 | 13596 | | |
13592 | 13597 | | |
13593 | 13598 | | |
| 13599 | + | |
| 13600 | + | |
| 13601 | + | |
| 13602 | + | |
| 13603 | + | |
| 13604 | + | |
13594 | 13605 | | |
13595 | 13606 | | |
13596 | 13607 | | |
| |||
13875 | 13886 | | |
13876 | 13887 | | |
13877 | 13888 | | |
13878 | | - | |
13879 | | - | |
| 13889 | + | |
| 13890 | + | |
| 13891 | + | |
13880 | 13892 | | |
13881 | 13893 | | |
13882 | 13894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4446 | 4446 | | |
4447 | 4447 | | |
4448 | 4448 | | |
4449 | | - | |
| 4449 | + | |
4450 | 4450 | | |
4451 | 4451 | | |
4452 | 4452 | | |
4453 | 4453 | | |
4454 | 4454 | | |
| 4455 | + | |
| 4456 | + | |
4455 | 4457 | | |
4456 | 4458 | | |
4457 | 4459 | | |
| |||
14479 | 14481 | | |
14480 | 14482 | | |
14481 | 14483 | | |
| 14484 | + | |
| 14485 | + | |
| 14486 | + | |
| 14487 | + | |
14482 | 14488 | | |
14483 | 14489 | | |
14484 | 14490 | | |
| |||
14777 | 14783 | | |
14778 | 14784 | | |
14779 | 14785 | | |
14780 | | - | |
| 14786 | + | |
14781 | 14787 | | |
14782 | 14788 | | |
14783 | 14789 | | |
| |||
15548 | 15554 | | |
15549 | 15555 | | |
15550 | 15556 | | |
15551 | | - | |
15552 | | - | |
15553 | | - | |
| 15557 | + | |
| 15558 | + | |
15554 | 15559 | | |
15555 | 15560 | | |
15556 | 15561 | | |
| |||
15560 | 15565 | | |
15561 | 15566 | | |
15562 | 15567 | | |
15563 | | - | |
15564 | | - | |
15565 | | - | |
| 15568 | + | |
| 15569 | + | |
15566 | 15570 | | |
15567 | 15571 | | |
15568 | 15572 | | |
| |||
15600 | 15604 | | |
15601 | 15605 | | |
15602 | 15606 | | |
15603 | | - | |
15604 | | - | |
15605 | | - | |
| 15607 | + | |
| 15608 | + | |
15606 | 15609 | | |
15607 | 15610 | | |
15608 | 15611 | | |
| |||
15757 | 15760 | | |
15758 | 15761 | | |
15759 | 15762 | | |
15760 | | - | |
15761 | | - | |
| 15763 | + | |
15762 | 15764 | | |
15763 | 15765 | | |
15764 | | - | |
15765 | | - | |
15766 | | - | |
15767 | | - | |
| 15766 | + | |
| 15767 | + | |
15768 | 15768 | | |
15769 | 15769 | | |
15770 | 15770 | | |
| |||
16503 | 16503 | | |
16504 | 16504 | | |
16505 | 16505 | | |
16506 | | - | |
16507 | | - | |
| 16506 | + | |
| 16507 | + | |
| 16508 | + | |
| 16509 | + | |
16508 | 16510 | | |
16509 | 16511 | | |
16510 | 16512 | | |
| |||
31030 | 31032 | | |
31031 | 31033 | | |
31032 | 31034 | | |
31033 | | - | |
| 31035 | + | |
| 31036 | + | |
31034 | 31037 | | |
31035 | 31038 | | |
31036 | 31039 | | |
| |||
31056 | 31059 | | |
31057 | 31060 | | |
31058 | 31061 | | |
31059 | | - | |
| 31062 | + | |
| 31063 | + | |
31060 | 31064 | | |
31061 | 31065 | | |
31062 | 31066 | | |
31063 | 31067 | | |
31064 | 31068 | | |
31065 | 31069 | | |
31066 | | - | |
| 31070 | + | |
31067 | 31071 | | |
31068 | 31072 | | |
31069 | 31073 | | |
| |||
37777 | 37781 | | |
37778 | 37782 | | |
37779 | 37783 | | |
| 37784 | + | |
| 37785 | + | |
| 37786 | + | |
37780 | 37787 | | |
37781 | 37788 | | |
37782 | 37789 | | |
| |||
0 commit comments