]> git.ipfire.org Git - thirdparty/lm-sensors.git/commit
Makefile: do not use a temporary file to test iconv master
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 24 Apr 2026 17:28:18 +0000 (19:28 +0200)
committerMichal Suchánek <hramrach@gmail.com>
Mon, 27 Apr 2026 07:36:53 +0000 (07:36 +0000)
commit927568e956100baa48b071b0c64bfbb9991f7eeb
treead9ce797db29b4500cb8b4057e9fb0f1b26e79e6
parent039d0901bc6e8ca9d7b85c3ae711f5be390f79f2
Makefile: do not use a temporary file to test iconv

Using a predictible temporary file name in /tmp is a security risk. It
could be used to overwrite or delete arbitrary files through a symlink,
possibly as root when running for instance "sudo make install".

Use "-o /dev/null" instead, which is supported by at least clang and
gcc.

Fixes: 68bda219526d
Makefile