]> The Tcpdump Group git mirrors - tcpdump/commit
Use separate buffers for encrypted and decrypted content in print-esp.c
authorMartin Sehnoutka <[email protected]>
Wed, 12 Jul 2017 08:09:24 +0000 (10:09 +0200)
committerMartin Sehnoutka <[email protected]>
Tue, 29 Aug 2017 08:04:35 +0000 (10:04 +0200)
commitf3c52ca01e83448bdd44e63f1f74e9198ffc2e1b
treebac6936b3357122990456231df742afc8c88722a
parent2f7c41dda8e0829007146923fc0722032146fbe9
Use separate buffers for encrypted and decrypted content in print-esp.c

The EVP_Cipher function should not be called with the same buffer as
input and output. It works fine on most architectures, but fails on
PowerPC. There is also a second problem, that we write the output to a
const buffer, but this issue is not addressed with this PR.
print-esp.c