| commit | 26d3031a321fdbcd0b0668ebf92e45d6e6e4921b | [log] [tgz] |
|---|---|---|
| author | Alex Gaynor <alex.gaynor@gmail.com> | Fri Jan 02 22:48:31 2026 |
| committer | GitHub <noreply@github.com> | Fri Jan 02 22:48:31 2026 |
| tree | 34d01992df81c16491693ec2b4985731348c20af | |
| parent | 53508aae5a6cd18ad6202712de7654918c9c1081 [diff] |
fixes #14084 -- Fix IndexError when loading malformed ECDSA SSH key with empty point (#14085) When parsing an SSH ECDSA public key with empty point data, the code was accessing point[0] without first checking if the point is empty, causing an IndexError. This change adds a check for empty point data before accessing point[0], raising a ValueError instead. Co-authored-by: Claude <noreply@anthropic.com>