Use mcdsl/terminal for all password prompts
Replace direct golang.org/x/term calls with mcdsl/terminal.ReadPassword across mciasctl (6 sites), mciasgrpcctl (1 site), and mciasdb (1 site). Aligns with the new CLI security standard in engineering-standards.md. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
vendor/modernc.org/libc/libc_windows_386.go
generated
vendored
12
vendor/modernc.org/libc/libc_windows_386.go
generated
vendored
@@ -727,3 +727,15 @@ func Xstrspn(tls *TLS, s uintptr, c uintptr) size_t { /* strspn.c:6:8: */
|
||||
}
|
||||
return size_t((int32(s) - int32(a)) / 1)
|
||||
}
|
||||
|
||||
// Defined in libc_windows_386.s
|
||||
func callStrtod(fn uintptr, s uintptr, p uintptr) float64
|
||||
|
||||
func Xstrtod(t *TLS, s uintptr, p uintptr) float64 {
|
||||
if __ccgo_strace {
|
||||
trc("tls=%v s=%v p=%v, (%v:)", t, s, p, origin(2))
|
||||
}
|
||||
// We use the assembly bridge to call the function pointer directly.
|
||||
// This ensures we capture the float return value from ST(0).
|
||||
return callStrtod(procStrtod.Addr(), s, p)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user