jamoma / JamomaCore

Jamoma Frameworks for Audio and Control Structure
Other
36 stars 14 forks source link

DatasbaceLib: Does not check if incoming list is of wrong size #311

Open lossius opened 10 years ago

lossius commented 10 years ago
  1. Make a j.datascape object with color dataspace and rgb for input and output. Thgis now should expect lists with 3 items.
  2. Send a list containing only 2 items.

Result: I get only two items in return

If I change one of the input/output units to something else, it sometimes work, but we also experienced a crash with orientation dataspace and conversions from euler to quarternions when feeding lists that were shorter than supported to.

The crash was instant, and did not even leave a crash log.

lossius commented 10 years ago

It's also an open question whether we need to extend Dataspacelib so that it is possible to retrieve info on how many items the returned list is expected to have.