(Fix): fixed unsafe.Slice using &r (pointer-to-pointer) as the backing array instead of r (the calloc'd response array), which wrote password bytes into random

This commit is contained in:
2026-07-18 21:42:05 +05:30
parent 863ed82298
commit eedde29e03
5 changed files with 25 additions and 22 deletions

View File

@@ -1,5 +0,0 @@
#%PAM-1.0
auth include login
account include login
session include login
password include login

View File

@@ -1,15 +0,0 @@
[Unit]
Description=latchd display manager
After=systemd-user-sessions.service plymouth-quit-wait.service getty@tty2.service
Conflicts=getty@tty2.service
[Service]
ExecStart=/usr/bin/latchd
StandardInput=tty
TTYPath=/dev/tty2
TTYReset=yes
TTYVHangup=yes
Type=idle
[Install]
Alias=display-manager.service