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

samples/net/virtual: Increase sprintk buffers to hold parameter types



This sample app uses a stack buffer to hold the interface name which is
generated at runtime using sprintk. The buffer is only sized for the
expected range of values, not the full possible range of the datatype
(int).

To mitigate this, increase the size of the buffer to hold the full range of
an int value.

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