Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 503c8230 authored by Martin Walch's avatar Martin Walch Committed by Yann E. MORIN
Browse files

kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len



The struct gstr has a capacity that may differ from the actual string length.

However, a string manipulation in the function search_conf made the assumption
that it is the same, which led to messing up some search results, especially
when the content of the gstr in use had not yet reached at least 63 chars.

Signed-off-by: default avatarMartin Walch <walch.martin@web.de>
Acked-by: default avatarWang YanQing <udknight@gmail.com>
Acked-by: default avatarBenjamin Poirier <bpoirier@suse.de>
Reviewed-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
parent 33819600
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment