]> git.ipfire.org Git - thirdparty/libarchive.git/commit
strmode: Remove strcpy usage 3037/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 16 May 2026 13:33:23 +0000 (15:33 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 16 May 2026 13:33:23 +0000 (15:33 +0200)
commit0d08bc6db97f105701e0863dd3bd73dcbaf239f8
treefa1a69663b934852d659ae051fc107273dc940ea
parent27b08f61da304afa8bc75901117c9a077e41c5bb
strmode: Remove strcpy usage

The code can be simplified to avoid strcpy usage. While not exactly a
much safer approach by manually adjusting characters in a string, this
attempt reduces size of libarchive and avoids unneeded copy operations.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_entry_strmode.c