Skip to content
Commit 1407f97a authored by Yann E. MORIN's avatar Yann E. MORIN
Browse files

kconfig: don't allocate n+1 elements in temporary array



The temporary array that stores the search results is not NULL-terminated,
so there is no reason to allocate n+1 elements.

Reported-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
parent 803b3519
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment