Skip to content

CF_Chunk unit test stack smashing #195

@skliper

Description

@skliper

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I reviewed the CF README.md file to see if the feature is in the major future work.
  • I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
Stack smashing observed when compiling/testing 32 bit (-m32). Issue is with a test not limiting the max count to the size of the array:

arg_chunks->max_chunks = UINT32_MAX;

Describe the solution you'd like
Limit correctly and use an index inbounds.

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

Metadata

Metadata

Assignees

Labels

draco-rc1unit-testRelated to coverage or functional tests

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions