-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 8, 9
-
Component/s: client-libs
-
None
-
generic
-
generic
The current reader/writer of the AIFF format does not take into account that:
- The size of all chunks should be even(padded by 0 at the end)
- The actual data in the SSND chunk can be stored using dataOffset
- The SSND chunk can be skipped if the number of frame in the COMM chunk is zero.
- The data validation should be improved also:
a) the length of the file should be bigger than the datasize,
b) the number of sample frames should be the same to datasize(converted to frames)
- The size of all chunks should be even(padded by 0 at the end)
- The actual data in the SSND chunk can be stored using dataOffset
- The SSND chunk can be skipped if the number of frame in the COMM chunk is zero.
- The data validation should be improved also:
a) the length of the file should be bigger than the datasize,
b) the number of sample frames should be the same to datasize(converted to frames)