Skip to content
Commit 90978b9f authored by Arkadiusz Wadowski's avatar Arkadiusz Wadowski Committed by Carles Cufí
Browse files

mgmt/osdp: Make OSDP slab init safer



slab_buff size is calculated based on size of osdp_ephemeral_data union
so it is safer to use same structure for slab init.
Changes in osdp_event or osd_cmd structures can cause crashes without this.

Signed-off-by: default avatarArkadiusz Wadowski <wadowski.arkadiusz@gmail.com>
parent 77b49ab5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment