diff options
author | pjd <pjd@FreeBSD.org> | 2015-08-06 17:13:34 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2015-08-06 17:13:34 +0000 |
commit | ce28904c93b48681e77faadbe8486fc6b0930f1a (patch) | |
tree | 4964699035695aefa1d2ea40b5143018b9d23794 /contrib/llvm/tools/clang/lib/Basic | |
parent | 47d8edd4b121329407d2a2fed5d81c6c5cdc4adc (diff) | |
download | FreeBSD-src-ce28904c93b48681e77faadbe8486fc6b0930f1a.zip FreeBSD-src-ce28904c93b48681e77faadbe8486fc6b0930f1a.tar.gz |
After crypto_dispatch() bio might be already delivered and destroyed,
so we cannot access it anymore. Setting an error later lead to memory
corruption.
Assert that crypto_dispatch() was successful. It can fail only if we pass a
bogus crypto request, which is a bug in the program, not a runtime condition.
PR: 199705
Submitted by: luke.tw
Reviewed by: emaste
MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Basic')
0 files changed, 0 insertions, 0 deletions