Commit fbe58b7
committed
WiFiClientSecure: don't panic if memory allocation fails
If it fails due to a malloc somewhere in bigint.c, we will still crash (although with a less obvious crash message). If it fails in increase_bm_data_size, axTLS will handle this and report that connection has been aborted. This error will be passed on to the user, so that an application can recover and attempt to reconnect.1 parent fcf9c0d commit fbe58b7
1 file changed
+0
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
536 | 535 | | |
537 | 536 | | |
538 | | - | |
539 | 537 | | |
540 | 538 | | |
541 | 539 | | |
| |||
553 | 551 | | |
554 | 552 | | |
555 | 553 | | |
556 | | - | |
557 | 554 | | |
558 | 555 | | |
559 | 556 | | |
| |||
563 | 560 | | |
564 | 561 | | |
565 | 562 | | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | 563 | | |
0 commit comments