]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Check realloc return values (#2204)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Sun, 2 Jun 2024 23:21:30 +0000 (01:21 +0200)
committerGitHub <noreply@github.com>
Sun, 2 Jun 2024 23:21:30 +0000 (16:21 -0700)
commited743f63fd478837bec4a15b6cde3f26aec7f38d
tree02e337174427419c1cf059c95e3193a6d36421b7
parent2386414abbc9e6f0ec9808f2a5dd067af1f5f528
Check realloc return values (#2204)

If realloc fails, keep track of currently allocated memory instead of
provoking memory leaks in error paths.
libarchive/archive_read_support_format_rar.c
libarchive/archive_write_disk_posix.c