mirror of
https://github.com/curl/curl.git
synced 2026-08-02 02:00:28 +03:00
ssls: fix potential memory leak on import
Memory can be leaked when importing corrupted SSL session data that carry the same data fields repeatedly. Fixes #22323 Closes #22324
This commit is contained in:
parent
94fab2d210
commit
0dc22b690d
9 changed files with 201 additions and 9 deletions
|
|
@ -220,7 +220,7 @@ test1645 test1646 test1647 test1648 test1649 test1650 test1651 test1652 \
|
|||
test1653 test1654 test1655 test1656 test1657 test1658 test1659 test1660 \
|
||||
test1661 test1662 test1663 test1664 test1665 test1666 test1667 test1668 \
|
||||
test1669 test1670 test1671 test1672 test1673 test1674 test1675 test1676 \
|
||||
test1677 test1680 test1681 test1682 test1683 test1684 \
|
||||
test1677 test1678 test1680 test1681 test1682 test1683 test1684 \
|
||||
test1685 test1686 \
|
||||
\
|
||||
test1700 test1702 test1703 test1704 test1705 test1706 test1707 \
|
||||
|
|
|
|||
21
tests/data/test1678
Normal file
21
tests/data/test1678
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
ssls-import
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<features>
|
||||
SSLS-EXPORT
|
||||
</features>
|
||||
<tool>
|
||||
lib%TESTNUMBER
|
||||
</tool>
|
||||
<name>
|
||||
SSL session import tests
|
||||
</name>
|
||||
</client>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue