From ad9bf100f97de00a484d6a9f93909b4c9c858360 Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 1 Sep 2021 16:40:00 +0200 Subject: [PATCH 1/2] Fix #66, Correct documentation typos --- SECURITY.md | 2 +- unit-test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 1167fa5..a7cdcb8 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ To report a vulnerability for the sample_lib subsystem please [submit an issue]( For general cFS vulnerabilities please [open a cFS framework issue](https://github.com/nasa/cfs/issues/new/choose) and see our [top-level security policy](https://github.com/nasa/cFS/security/policy) for additional information. -In either case please use the "Bug Report" template and provide as much information as possible. Apply appropraite labels for each report. For security related reports, tag the issue with the "security" label. +In either case please use the "Bug Report" template and provide as much information as possible. Apply appropriate labels for each report. For security related reports, tag the issue with the "security" label. ## Testing diff --git a/unit-test/CMakeLists.txt b/unit-test/CMakeLists.txt index 68070c5..824ed1f 100644 --- a/unit-test/CMakeLists.txt +++ b/unit-test/CMakeLists.txt @@ -37,7 +37,7 @@ add_cfe_coverage_stubs(sample_lib_overrides override_src/libc_string_stubs.c ) -# Add a coverate test excutable called "sample_lib-ALL" that +# Add a coverage test executable called "sample_lib-ALL" that # covers all of the functions in sample_lib. # # Also note in a more complex app/lib the coverage test can also From 464eaa4afd7aaf289c43ae57d04af0a9c3636dea Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 1 Sep 2021 16:40:26 +0200 Subject: [PATCH 2/2] Fix #66, Correct code comment typos --- unit-test/coveragetest/coveragetest_sample_lib.c | 2 +- unit-test/override_src/libc_string_stubs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unit-test/coveragetest/coveragetest_sample_lib.c b/unit-test/coveragetest/coveragetest_sample_lib.c index 4c8030d..9fa7f53 100644 --- a/unit-test/coveragetest/coveragetest_sample_lib.c +++ b/unit-test/coveragetest/coveragetest_sample_lib.c @@ -110,7 +110,7 @@ void Test_SAMPLE_LIB_Init(void) */ /* Set a data buffer for strncpy() - * This overriddes what it would normally do */ + * This overrides what it would normally do */ UT_SetDataBuffer(UT_KEY(OCS_strncpy), UT_TESTBUFFER, sizeof(UT_TESTBUFFER), false); /* nominal case should return SUCCESS */ diff --git a/unit-test/override_src/libc_string_stubs.c b/unit-test/override_src/libc_string_stubs.c index 6eeb78f..70af4b3 100644 --- a/unit-test/override_src/libc_string_stubs.c +++ b/unit-test/override_src/libc_string_stubs.c @@ -31,7 +31,7 @@ ** Notes: ** For most Unit tests this is _NOT_ necessary. Whenever ** possible, FSW code should only call CFE/OSAL/PSP code for -** which there are already stubs available and the the +** which there are already stubs available and the ** replacements can be made transparently at link time. */