Commit fa65da7
committed
analyzer-driven cleanups of --enable-dtls13 --enable-dtls-mtu --enable-dtls-frag-ch:
Dtls13HashClientHello(): fix wc_HashType handling;
Dtls13SendFragment(): fix identicalConditionAfterEarlyExit;
GetDtlsRecordHeader(): fix error handling around GetDtls13RecordHeader() (incorrectLogicOperator);
test_wolfSSL_dtls_stateless_maxfrag(): fix a clang-analyzer-core.NullDereference,
test_dtls_frag_ch(): fix a clang-diagnostic-embedded-directive,
test_AEAD_limit_client(): fix an united-data defect found by valgrind.1 parent abc6edf commit fa65da7
3 files changed
Lines changed: 19 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
498 | 501 | | |
499 | 502 | | |
500 | 503 | | |
501 | | - | |
| 504 | + | |
502 | 505 | | |
503 | | - | |
| 506 | + | |
504 | 507 | | |
505 | | - | |
| 508 | + | |
506 | 509 | | |
507 | | - | |
| 510 | + | |
508 | 511 | | |
509 | | - | |
| 512 | + | |
510 | 513 | | |
511 | 514 | | |
512 | 515 | | |
513 | | - | |
| 516 | + | |
514 | 517 | | |
515 | 518 | | |
516 | 519 | | |
| |||
568 | 571 | | |
569 | 572 | | |
570 | 573 | | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
1716 | | - | |
| 1716 | + | |
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11471 | 11471 | | |
11472 | 11472 | | |
11473 | 11473 | | |
11474 | | - | |
11475 | | - | |
| 11474 | + | |
| 11475 | + | |
11476 | 11476 | | |
11477 | 11477 | | |
11478 | 11478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87647 | 87647 | | |
87648 | 87648 | | |
87649 | 87649 | | |
| 87650 | + | |
87650 | 87651 | | |
87651 | 87652 | | |
87652 | 87653 | | |
| |||
90812 | 90813 | | |
90813 | 90814 | | |
90814 | 90815 | | |
| 90816 | + | |
90815 | 90817 | | |
90816 | 90818 | | |
90817 | 90819 | | |
90818 | 90820 | | |
90819 | 90821 | | |
90820 | | - | |
90821 | | - | |
90822 | | - | |
| 90822 | + | |
90823 | 90823 | | |
90824 | 90824 | | |
90825 | 90825 | | |
| |||
95173 | 95173 | | |
95174 | 95174 | | |
95175 | 95175 | | |
95176 | | - | |
95177 | 95176 | | |
95178 | | - | |
| 95177 | + | |
| 95178 | + | |
| 95179 | + | |
| 95180 | + | |
95179 | 95181 | | |
95180 | | - | |
95181 | 95182 | | |
95182 | 95183 | | |
95183 | 95184 | | |
| |||
0 commit comments