Skip to content
Commit 9b2aed73 authored by Keith Packard's avatar Keith Packard Committed by Carles Cufí
Browse files

drivers/wifi/esp_at: Increase sprintk buffers to hold parameter types



This driver uses stack buffers to hold AT command strings which are
generated at runtime using sprintk. The buffers are only sized for the
expected range of values, not the full possible range given the datatypes
involved. Values outside this expected range could cause a buffer overflow.

To mitigate this, increase the size of each buffer to hold the full range
of each parameter type.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 87367afa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment