From: Tobias Stoeckmann Date: Fri, 16 May 2025 21:25:42 +0000 (+0200) Subject: tar: Fix safe_fprintf comment X-Git-Tag: v3.8.0~15^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3f2aaf0acd27d27ac1c9baa5af2667a13af0571;p=thirdparty%2Flibarchive.git tar: Fix safe_fprintf comment The stack buffer is never used for out of memory messages. Signed-off-by: Tobias Stoeckmann --- diff --git a/tar/util.c b/tar/util.c index ea69aa9d7..1321a6839 100644 --- a/tar/util.c +++ b/tar/util.c @@ -67,8 +67,7 @@ static const char *strip_components(const char *path, int elements); * malloc()), partly out of expedience (we have to call vsnprintf() * before malloc() anyway to find out how big a buffer we need; we may * as well point that first call at a small local buffer in case it - * works), but mostly for safety (so we can use this to print messages - * about out-of-memory conditions). + * works). */ void