diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-10-21 11:44:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-10-21 11:44:43 -0400 |
commit | 35bf07b8d67d018f7740ca195cf8c7c86b1b4ef9 (patch) | |
tree | 96ab072a93a2d30f4723383607a5169f35d1546c /src/common/memarea.c | |
parent | 62b02a1941c6c51efe36f804ddd10f62a3606d41 (diff) | |
download | tor-35bf07b8d67d018f7740ca195cf8c7c86b1b4ef9.tar.gz tor-35bf07b8d67d018f7740ca195cf8c7c86b1b4ef9.zip |
Check for len < 4 in dn_indicates_v3_cert
Without this check, we potentially look up to 3 characters before
the start of a malloc'd segment, which could provoke a crash under
certain (weird afaik) circumstances.
Fixes 17404; bugfix on 0.2.6.3-alpha.
Diffstat (limited to 'src/common/memarea.c')
0 files changed, 0 insertions, 0 deletions