Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Jean Delvare <[email protected]> Signed-off-by: "Yann E. MORIN" <[email protected]> Reviewed-by: Jean Delvare <[email protected]>
- Loading branch information