Wireshark-commits: [Wireshark-commits] rev 52051: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Sun, 15 Sep 2013 06:59:32 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52051

User: alagoutte
Date: 2013/09/14 11:59 PM

Log:
 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.

Directory: /trunk/epan/dissectors/
  Changes    Path                  Action
  +2 -2      packet-ssl-utils.c    Modified