Skip to content
Commit 3bce026d authored by Huang-Huang Bao's avatar Huang-Huang Bao Committed by Wim Taymans
Browse files

protocol-native: fix out-of-bounds access to SEC_LABEL hex table

If buffer type char[] is 4-byte aligned, higher 3-byte on char could be non-zero if data is not initialized, which make 'buffer[i] >> 4' larger than 0x0f.
Use type uint8_t[] on SEC_LABEL buffer to fix it.
parent 471fffe4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment