util: Fix UB in SetStdinEcho when ENOTTY

Github-Pull: #34597
Rebased-From: fa692974ac
This commit is contained in:
MarcoFalke
2026-02-16 12:31:40 +01:00
committed by fanquake
parent 62730a897e
commit 7220ee3fc7
2 changed files with 17 additions and 10 deletions

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