summaryrefslogtreecommitdiffstats
path: root/ossfuzz
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-11-25 14:26:14 (GMT)
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2021-11-25 14:32:37 (GMT)
commit4bdfb08b95ede33d41ad4c722f039b957c0dc612 (patch)
tree1d0f5726d23b0f868637ef3023ed7fccc9b2eab0 /ossfuzz
parentdb57809cf189feb2dd690d55abc2884c95c6fc00 (diff)
downloadlz4-4bdfb08b95ede33d41ad4c722f039b957c0dc612.zip
lz4-4bdfb08b95ede33d41ad4c722f039b957c0dc612.tar.gz
lz4-4bdfb08b95ede33d41ad4c722f039b957c0dc612.tar.bz2
Fix typos found by codespell
Diffstat (limited to 'ossfuzz')
-rw-r--r--ossfuzz/decompress_fuzzer.c2
-rw-r--r--ossfuzz/fuzz_helpers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ossfuzz/decompress_fuzzer.c b/ossfuzz/decompress_fuzzer.c
index 6f48e30..a9a197c 100644
--- a/ossfuzz/decompress_fuzzer.c
+++ b/ossfuzz/decompress_fuzzer.c
@@ -39,7 +39,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
/* No dictionary. */
LZ4_decompress_safe_usingDict((char const*)data, dst, size,
dstCapacity, NULL, 0);
- /* Small external dictonary. */
+ /* Small external dictionary. */
LZ4_decompress_safe_usingDict((char const*)data, dst, size,
dstCapacity, smallDict, smallDictSize);
/* Large external dictionary. */
diff --git a/ossfuzz/fuzz_helpers.h b/ossfuzz/fuzz_helpers.h
index c4a8645..aae359e 100644
--- a/ossfuzz/fuzz_helpers.h
+++ b/ossfuzz/fuzz_helpers.h
@@ -81,7 +81,7 @@ FUZZ_STATIC uint32_t FUZZ_rand(uint32_t *state) {
return rand32 >> 5;
}
-/* Returns a random numer in the range [min, max]. */
+/* Returns a random number in the range [min, max]. */
FUZZ_STATIC uint32_t FUZZ_rand32(uint32_t *state, uint32_t min, uint32_t max) {
uint32_t random = FUZZ_rand(state);
return min + (random % (max - min + 1));