DTLS*-LargeRecord and DTLS*-BadRecord bogo tests fail with SSL_ERROR_RX_SHORT_DTLS_READ

NEW
Assigned to

Status

NSS
Test
a year ago
a year ago

People

(Reporter: jld, Assigned: jld)

Tracking

(Blocks: 1 bug)

trunk

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

a year ago
NSS's bogo test shim reads at most 512 bytes at a time, but for DTLS it needs to read an entire application data record, which can be up to 16 KiB.

The fix is trivial (assuming this will never run in an environment where a 16 KiB stack allocation is problematic) and can be applied independently of the rest of DTLS support.
You need to log in before you can comment on or make changes to this bug.