Skip to content

Commit

Permalink
Reduce maximum size for polygonToCellsExperimental fuzzers
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbrodsky committed Dec 16, 2024
1 parent 18073a2 commit f996707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/apps/fuzzers/fuzzerPolygonToCellsExperimental.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ typedef struct {
} inputArgs;

const int MAX_RES = 15;
const int MAX_SZ = 4000000;
const int MAX_SZ = 2000000;
const int MAX_HOLES = 100;

int populateGeoLoop(GeoLoop *g, const uint8_t *data, size_t *offset,
Expand Down
2 changes: 1 addition & 1 deletion src/apps/fuzzers/fuzzerPolygonToCellsExperimentalNoHoles.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "utility.h"

const int MAX_RES = 15;
const int MAX_SZ = 4000000;
const int MAX_SZ = 2000000;

void run(GeoPolygon *geoPolygon, uint32_t flags, int res) {
int64_t sz;
Expand Down

0 comments on commit f996707

Please sign in to comment.