]> git.ipfire.org Git - thirdparty/libarchive.git/commit
shar: Check strdup return value (#2173)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Thu, 9 May 2024 23:49:50 +0000 (01:49 +0200)
committerGitHub <noreply@github.com>
Thu, 9 May 2024 23:49:50 +0000 (01:49 +0200)
commit576a24205050a0ce5f8209f13bc1d94912797883
tree5bad3e1ebb1bbff659c337d7e27af0a184cc90f3
parent8bc1a3e66e3994ef1c70d236d6524c42b46f0f72
shar: Check strdup return value (#2173)

The strdup function could fail, so check for NULL return value.
libarchive/archive_write_set_format_shar.c