(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

@@ -182,3 +182,7 @@ src/
## license
MIT or Apache-2.0
## credits
the `extra/` directory structure and the session scanning / pam delegation approach are adapted from [lemurs](https://github.com/coastalwhite/lemurs), a rust display manager.