fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.33k stars 306 forks source link

[Zig Rewrite] Fix Authentication #604

Closed Kawaii-Ash closed 4 months ago

Kawaii-Ash commented 4 months ago

This "should" fix #602

The issue could be reproduced when pam modules such as pam_motd.so were used. Initializing the allocated memory for the response with zeroes fixed it in my tests.

Update: Also updated zigini to fix a mem leak that could occur