| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(bsl/pem): replace strstr with length-bounded PemMemStr to prevent OOB reads When input is raw binary (DER-encoded cert/key) without '\0' terminator, strstr may read out of bounds. Replace all strstr calls with PemMemStr which searches within encodeLen using memchr+memcmp. Add SDV tests for binary input, truncated PEM, and real cert/key file round-trips. Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1320 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 |