php-src/ext/tidy/tests
Niels Dossche 8de7ccb29b
Fix memory leaks in ext/tidy basedir restriction code
TIDY_APPLY_CONFIG can early return because it's a macro, but then the
cleanup paths are not executed. Transform this to a real function and
handle the cleanups correctly at the callsites.

Closes GH-15046.
2024-07-21 16:28:15 +02:00
..
open_basedir Fix memory leaks in ext/tidy basedir restriction code 2024-07-21 16:28:15 +02:00
001.phpt
002.phpt
003.phpt
004.phpt
005-mb.phpt
005.html
005.phpt
005私はガラスを食べられます.html
006.phpt Fix Tidy tests failing due to different spelling 2023-02-21 14:32:39 +00:00
007.html
007.phpt Prefer EXPECT over EXPECTF 2021-06-29 17:13:02 +02:00
008.phpt Fix Tidy tests failing due to different spelling 2023-02-21 14:32:39 +00:00
009.phpt
010.phpt Declare tidyNode properties as readonly 2022-05-26 08:26:16 +02:00
011.phpt
012.phpt Declare tidyNode properties as readonly 2022-05-26 08:26:16 +02:00
013.html
013.phpt
014.phpt
015.html
015.phpt
016.html
016.phpt
016.tcfg
017.phpt
018.phpt
019.phpt Add missing error check on tidyLoadConfig 2023-02-21 14:12:17 +00:00
020.phpt
021.phpt
023.phpt Properly fix tidy test failure on Windows 2022-05-26 12:54:01 +02:00
024.phpt
025.phpt
026.phpt Skip some tests under --preload 2021-07-30 17:26:39 +02:00
027.phpt
028.phpt
029.phpt
030.phpt
031.phpt
032.phpt
033.phpt
034.phpt
035.phpt
036.phpt Declare tidyNode properties as readonly 2022-05-26 08:26:16 +02:00
bug54682.phpt
bug77040.phpt
bug77594.phpt
bug_50558.phpt
gh10636.phpt Add missing error check on tidyLoadConfig 2023-02-21 14:12:17 +00:00
gh10636_config Add missing error check on tidyLoadConfig 2023-02-21 14:12:17 +00:00
gh12980.phpt Fix GH-12980: tidynode.props.attribute is missing "Boolean Attributes" and empty attributes 2023-12-22 17:37:34 +01:00
open_basedir_failure_config.phpt Fix memory leaks in ext/tidy basedir restriction code 2024-07-21 16:28:15 +02:00
parsing_file_too_large.phpt Fix memory leak in tidy_repair_file() 2024-07-08 13:24:32 +02:00
parsing_inexistent_file.phpt Fix memory leaks in ext-tidy 2023-02-10 14:12:23 +00:00
tidy_error.phpt
tidy_error1.phpt
uninitialized.phpt