ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 9153] New: [PATCH trivial] Fix Application Data record par

Date: Sat, 14 Sep 2013 23:01:08 +0000
Bug ID 9153
Summary [PATCH trivial] Fix Application Data record parsing for TLS 1.1/1.2 and DTLS 1.0/1.2
Classification Unclassified
Product Wireshark
Version SVN
Hardware All
OS All
Status UNCONFIRMED
Severity Normal
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 11570 [details]
Fix application data parsing failure for TLS 1.1/1.2 (trivial patch)

Build Information:

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

For a test capture, please see bug 9144.


You are receiving this mail because:
  • You are watching all bug changes.