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:
Andy Sinclair <andy.sinclair@nordicsemi.no>
Loading
Please sign in to comment