1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test
David Steele 5cbef3ade2 Fix missed memory auditing in FUNCTION_LOG_RETURN_VOID().
9ca492c missed adding auditing to this macro and as a result a few memory leaks have slipped through. Add auditing to the macro to close this hole.

Of the leaks found the only possibly serious one is in blockIncrProcess(), which would leak a PackRead of about eight bytes with every superblock. Since superblocks max out at a few thousand per file this was probably not too bad.

Also change the ordering of auditing in FUNCTION_TEST_RETURN_VOID(). Even though the order does not matter, having it different from the other macros is confusing and looks like an error.
2023-06-25 17:36:57 +02:00
..
certificate SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
code-count v2.46: Block Incremental Backup and SFTP Storage 2023-05-22 11:13:13 +03:00
data
lib/pgBackRestTest Update Fedora test image to Fedora 38. 2023-06-22 18:23:06 +02:00
src Fix missed memory auditing in FUNCTION_LOG_RETURN_VOID(). 2023-06-25 17:36:57 +02:00
.gitignore
ci.pl Remove user-facing documentation references to --vm=none. 2023-05-23 10:58:51 +03:00
container.yaml Update Fedora test image to Fedora 38. 2023-06-22 18:23:06 +02:00
define.yaml SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
Dockerfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
test.pl Remove double spaces from comments and documentation. 2023-05-02 12:57:12 +03:00
uncrustify.cfg Check for stray execute permissions in test.pl --code-format. 2023-02-01 12:57:04 +07:00
Vagrantfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00