Hi James,
On 6/22/20 10:25 AM, James Prestwood wrote:
frame_xchg_startv was using sizeof(mmpdu) to check the minimum
length
for a frame. Instead mmpdu_header_len should be used since this checks
fc.order and returns either 24 or 28 bytes, not 28 bytes always.
This change adds the requirement that the first iovec in the array
must contain at least the first 2 bytes (mmpdu_fc) of the header.
This really shouldn't be a problem since all current users of
frame-xchg put the entire header (or entire frame) into the first
iovec in the array.
---
src/frame-xchg.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Applied, thanks.
Regards,
-Denis