SDreaddata function in JNI uses mismatched PIN_/UNPIN_ARRAY macros #355
Labels
Component - Java
Java wrappers
Priority - 0. Blocker ⛔
This MUST be merged for the release to happen
Type - Bug
Please report security issues to [email protected] instead of creating an issue on GitHub
HDFGroup/hdfview#119 and HDFGroup/hdfview#120 issues expose a JNI implementation error in the float and double SDreaddata functions.
Both functions were using PIN_xxx_ARRAY_CRITICAL macros to get the data buffers but only used UNPIN_xxx_ARRAY macros to release the buffers. The "CRITICAL" versions should not have been used (the integer versions did not use CRITICAL)
The text was updated successfully, but these errors were encountered: