@@ -14,7 +14,7 @@ using namespace fuzztest;
14
14
using namespace chip ;
15
15
16
16
17
- // The property Function
17
+ // The property Function
18
18
void Base38DecodeFuzz (const std::vector<uint8_t > & bytes)
19
19
{
20
20
std::string base38EncodedString (reinterpret_cast <const char *>(bytes.data ()), bytes.size ());
@@ -28,14 +28,14 @@ void Base38DecodeFuzz(const std::vector<uint8_t> & bytes)
28
28
29
29
30
30
31
-
31
+
32
32
33
33
/* The property function for a base38 roundtrip Fuzzer.
34
34
* It starts by encoding the fuzzing value passed
35
35
* into Base38. The encoded value will then be decoded.
36
- *
36
+ *
37
37
* The fuzzer verifies that the decoded value is the same
38
- * as the one in input.*/
38
+ * as the one in input.*/
39
39
void Base38RoundTripFuzz (const std::vector<uint8_t > & bytes)
40
40
{
41
41
@@ -44,7 +44,7 @@ void Base38RoundTripFuzz(const std::vector<uint8_t> & bytes)
44
44
45
45
46
46
ASSERT_LT (outputSizeNeeded, kMaxOutputSize );
47
-
47
+
48
48
ByteSpan span (bytes.data (), bytes.size ());
49
49
50
50
char encodedBuf[kMaxOutputSize ];
@@ -60,7 +60,7 @@ void Base38RoundTripFuzz(const std::vector<uint8_t> & bytes)
60
60
61
61
ASSERT_EQ (decodingError, CHIP_NO_ERROR);
62
62
63
- // Make sure that decoded data is equal to the original fuzzed input; the bytes vector
63
+ // Make sure that decoded data is equal to the original fuzzed input; the bytes vector
64
64
ASSERT_EQ (decodedData, bytes);
65
65
66
66
}
0 commit comments