JDK-4920275 : Align record payload on 8 byte boundaries
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-09-10
  • Updated: 2014-12-03
  • Resolved: 2014-12-03
Related Reports
Duplicate :  
Description
SSL/TLS records consist of a 5 byte header plus the actual payload. SunJSSE currently reads that into a byte array starting at index 0, i.e. the payload - which needs to be crypted/MACed - starts at offset 5.

This might make certain optimizations impossible or degrade performance since some processors to not support word loads from unaligned addresses.

Comments
We have addressed this improvement during the implementation of TLS 1.2 (JDK-6916074).
03-12-2014

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: dragon
02-09-2004

EVALUATION To be investigated post Tiger. ###@###.### 2003-09-10
10-09-2003