diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-09-15 06:59:32 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-09-15 06:59:32 +0000 |
commit | eda53fd1b729d42dc26d05e7636299b65936e140 (patch) | |
tree | 5dff135a47f2fd141523fb6491a5c3be4a0b9d60 /epan/dissectors/packet-enttec.c | |
parent | 89244b1ad027e05bdf62dbb14cd65bf493fd1fbd (diff) |
From Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9153 [PATCH trivial] Fix Application Data record parsing for TLS 1.1/1.2 and DTLS 1.0/1.2
Using memcpy on overlapping memory has undefined behaviour (read: on GCC 4.8.1 this destroys the plaintext and invalidates the MAC).
This patch fixes parsing Application Data records for TLS 1.1 and 1.2 (while I am at it, also for DTLS 1.0/1.2) by using memmove instead of memcpy.
svn path=/trunk/; revision=52051
Diffstat (limited to 'epan/dissectors/packet-enttec.c')
0 files changed, 0 insertions, 0 deletions