Skip to content

fix: quick remedy for invalid memory access in obuf_create

Dmitry Ivanov requested to merge funbringer/fix-obuf-definition into master

Summary

  • fix: quick remedy for invalid memory access in obuf_create

Tarantool's struct obuf contains one more field in debug builds which is utilized for additional allocation checks. Before this commit we didn't mirror it in our rust definition which sometimes resulted in crashes.

This is not a proper fix to the underlying problem but it's certainly better than leaving it as is.

Fixes #222 (closed)

Ensure that

  • New code is covered by tests
  • API is documented
  • Changelog is up to date
  • Version is bumped in the appropriate Cargo.toml files
Edited by Dmitry Ivanov

Merge request reports