Skip to content
Commit 03f9f664 authored by Leandro Pereira's avatar Leandro Pereira Committed by Jukka Rissanen
Browse files

net: websocket: Revise generation of Sec-WebSocket-Accept header



This removes some tricky math to calculate lengths and offsets,
ensuring that, when appending the WebSocket UUID to the handshake
key, the key_accept buffer won't overflow.

Coverity-ID: 183057
Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent e81b9043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment