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 Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
002.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
003.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
004.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
005-mb.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
005.html
005.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
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 Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
010.phpt Declare tidyNode properties as readonly 2022-05-26 08:26:16 +02:00
011.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
012.phpt Declare tidyNode properties as readonly 2022-05-26 08:26:16 +02:00
013.html
013.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
014.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
015.html
015.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
016.html
016.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
016.tcfg
017.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
018.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
019.phpt Add missing error check on tidyLoadConfig 2023-02-21 14:12:17 +00:00
020.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
021.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
023.phpt Properly fix tidy test failure on Windows 2022-05-26 12:54:01 +02:00
024.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
025.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
026.phpt Skip some tests under --preload 2021-07-30 17:26:39 +02:00
027.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
028.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
029.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
030.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
031.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
032.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
033.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
034.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
035.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
036.phpt Declare tidyNode properties as readonly 2022-05-26 08:26:16 +02:00
bug54682.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
bug77040.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
bug77594.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
bug_50558.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
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 Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
tidy_error1.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00
uninitialized.phpt Migrate skip checks to --EXTENSIONS--, p4 2021-04-08 10:36:44 +02:00