Add other files that are new since 0.6.0

This commit is contained in:
Isaac Connor committed 2023-06-10 08:34:36 -04:00
1 parent d29ef0e26b
commit 3934bdda9d
69 files changed
+5501

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#include <jwt-cpp/base.h>
extern "C" {
int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) {
try {
const auto bin = jwt::base::decode<jwt::alphabet::base64>(std::string{(char*)Data, Size});
} catch (const std::runtime_error&) {
// parse errors are ok, because input may be random bytes
}
return 0; // Non-zero return values are reserved for future use.
}
}