diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-10-01 18:02:22 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-10-02 16:02:40 +0900 |
commit | 984ed20ece1c6c20789ece040cbff3eb1a388fa9 (patch) | |
tree | dcf96558e01c8e9d45efce307beba21d195fe606 /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | da724c33b685463720b1c625ac440e894dc57ec0 (diff) |
kconfig: qconf: fix buffer overflow in debug links
If you enable "Option -> Show Debug Info" and click a link, the program
terminates with the following error:
*** buffer overflow detected ***: terminated
The buffer overflow is caused by the following line:
strcat(data, "$");
The buffer needs one more byte to accommodate the additional character.
Fixes: c4f7398bee9c ("kconfig: qconf: make debug links work again")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions