Skip to content
Commit 7f0f0a4f authored by Andy Sinclair's avatar Andy Sinclair Committed by Alberto Escolar
Browse files

drivers: gpio: shell: Fixed gpio info crash bug



When getting gpio info for a specific device with no line
names, invalid memory was accessed.
The check for the length of the line name array has been
corrected to avoid this.

Signed-off-by: default avatarAndy Sinclair <andy.sinclair@nordicsemi.no>
parent 1198c7ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment