mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Load the serialized context once before corrupting it, to check the data is well-formed to begin with. Shorten the second ALPN protocol so the corrupted length overruns the serialized data by exactly one byte, and assert that property at runtime. Document that the corrupted load usually fails even without the bounds check, so the regression is only caught when the suite runs under ASan or Valgrind. Signed-off-by: Naveed <naveed@bugqore.com> |
||
|---|---|---|
| .. | ||
| .jenkins | ||
| configs | ||
| git-scripts | ||
| include/test | ||
| opt-testcases | ||
| scripts | ||
| src | ||
| suites | ||
| .gitignore | ||
| CMakeLists.txt | ||
| compat-in-docker.sh | ||
| compat.sh | ||
| context-info.sh | ||
| Descriptions.txt | ||
| make-in-docker.sh | ||
| Makefile | ||
| ssl-opt.sh | ||