We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ccdcf6 commit a925975Copy full SHA for a925975
projects/protobuf-js/fuzz.js
@@ -55,7 +55,7 @@ const ignored = [
55
56
// Fuzz the Root#loadSync method
57
function fuzzLoadSync(root, provider) {
58
- const filePath = provider.consumeString();
+ const filePath = provider.consumeString(provider.consumeIntegralInRange(1, 64));
59
root.loadSync(filePath);
60
}
61
@@ -75,7 +75,7 @@ function fuzzLookupType(root, provider) {
75
76
// Fuzz the Message#encode method
77
function fuzzEncode(root, provider) {
78
- const typeName = provider.consumeString();
+ const typeName = provider.consumeString(provider.consumeIntegralInRange(1, 64));
79
const message = root.create(typeName);
80
81
// Construct the input for the message instance manually
0 commit comments