GODRIVER-4237Ready for Work

GridFS download panics on malformed chunk or files documents

h3. Detailed steps to reproduce the problem? {{GridFSBucket.OpenDownloadStream}} will panic instead of returning an error when a stored GridFS document has bad fields: * chunk n is neither int32 or int64 (a float64, for example) * chunk data isn't binary * the files document's chunkSize is negative Repro for case 1: [https://github.com/10gen/go-driver-tools/blob/main/preston/repros/2.9.3/godriver_3137_test.go] h3. Definition of done: what must be done to consider the task complete?

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
GridFS
Labels
Tags and classification
priority