mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:33:36 +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
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