util: Fix UB in SetStdinEcho when ENOTTY

This commit is contained in:
MarcoFalke committed 2026-02-18 21:28:46 +01:00
1 parent b65ff0e5a1
commit fa692974ac
2 files changed
+17 -10

No files matched your search

-6
View File
@@ -14,12 +14,6 @@
# Note that suppressions may depend on OS and/or library versions.
# Tested on aarch64 and x86_64 with Ubuntu Noble system libs, using clang-16
# and GCC, without gui.
{
Suppress uninitialized bytes warning in compat code
Memcheck:Param
ioctl(TCSET{S,SW,SF})
fun:tcsetattr
}
{
Suppress leaks on shutdown
Memcheck:Leak