Commit Graph

1 Commits

Author SHA1 Message Date
Nirmal Khanal
0eb4cb8812 fix: compare CL passwords by actual length
Short cleartext (CL:) passwords were compared with ctmemcmp over
pwl_table.recsize-1 bytes, reading past the client password buffer and
rejecting valid short passwords. Compare only password bytes plus NUL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-23 13:02:37 -04:00