diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2024-11-18 13:13:57 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2024-11-18 13:13:57 +0900 |
commit | 9f5a0f4bb5efb33a8d6cc72fd274ef11042cd73a (patch) | |
tree | 28bab8828855ca489c6ad42c86d250532b8022d6 /tests/test-feedback.h | |
parent | 7153775f8a308de229a519d73780037fc4c23de4 (diff) | |
download | libsvi-tizen.tar.gz libsvi-tizen.tar.bz2 libsvi-tizen.zip |
The MATCH macro from the libsyscommon was omitted secure string length comparison.
When comparing strings with the strncmp function,
it is safer to use a parameter length of strlen + 1.
For clear comparison, strings are compared by the length of the literal string.
Change-Id: I014c7a2d97a97584ba7f1f0c4a4b7b6681a69048
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
Diffstat (limited to 'tests/test-feedback.h')
0 files changed, 0 insertions, 0 deletions