terminusdb-labs / swipl-rs

26 stars 7 forks source link

Fix crash bug in wrapped arc blobs #30

Closed matko closed 2 years ago

matko commented 2 years ago

Wrapped arc blobs had a mistake in their macro generation, which caused the acquire and release functions to interpret the data passed to prolog as the wrong type. This caused refcount manipulation to have undefined behavior.