bugs.gh_7056_test. Fetching from a scrollable cursor may overwrite user-specified buffer and corrupt memory