This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
mapshape: validate numshapes
If the value is implausible, refuse to parse the file, because that value will be used later in memory allocations. I used the same limit as in msSHPOpen(). DoS vulnerability found with libFuzzer.
- Loading branch information
Showing 1 changed file with 8 additions and 0 deletions.