Skip to content

Fix index out of bounds #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Fix index out of bounds #5

merged 1 commit into from
Apr 26, 2023

Conversation

mildred
Copy link
Contributor

@mildred mildred commented Apr 25, 2023

There is an index out of bounds when calling an iterator and it tried to construct a string of length 0. It calls copyMem on it but it fails because it has length 0.

Exception is: index out of bounds, the container is empty
src/easy_sqlite3/bindings.nim(532) getColumn

There is an index out of bounds when calling an iterator and it tried to
construct a string of length 0. It calls copyMem on it but it fails
because it has length 0.

Exception is: index out of bounds, the container is empty
  src/easy_sqlite3/bindings.nim(532) getColumn
@codehz
Copy link
Owner

codehz commented Apr 26, 2023

Thanks

@codehz codehz merged commit cdf127e into codehz:develop Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants