-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add constraints on large header size; malicious input could cause OOM #85
Comments
For reference there is a hard limit set in the GDAL driver implementation, see https:/OSGeo/gdal/blob/42979b8faad298a7450da22c1a8153f2c7c65e02/gdal/ogr/ogrsf_frmts/flatgeobuf/ogr_flatgeobuf.h#L46. It was also a mitigation to fix a bug caught by fuzzing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reading this slice of bytes into the Rust
FgbReader
will cause memory exhaustion on my machine:A couple options:
FgbReaderBuilder
Discovered while fuzzing via #84
The text was updated successfully, but these errors were encountered: