HDFGroup / HDFGroup/hdf5

`assert()` for maximum limit on number of filters in pipeline is off by 1

Open
#6,655 0 comments 0 reactions 1 assignee Claimed by @jhendersonHDF View on GitHub
Dominant language
C
Stars
988
Forks
355
Avg merge
4d 2h
Merged PRs (30d)
12

Description

The maximum number of filters that can be added to a filter pipeline is documented as 32 (`H5Z_MAX_NFILTERS`). The `assert()` in `H5Z_pipeline()` currently checks that the number of filters in a pipeline is less than OR equal to this number, causing a filter pipeline with 32 filters in it to result in a crash for debug builds. This should be updated to allow the documented number of filters and a test should be added.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.