Skip to content
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

Raise an exception in case of overflow in DaoPostgreSQLHD_Execute() #5

Open
dumblob opened this issue Sep 26, 2015 · 0 comments
Open

Comments

@dumblob
Copy link

dumblob commented Sep 26, 2015

In DaoPostgreSQL/daoPostgreSQL.c on the line 749 in the function DaoPostgreSQLHD_Execute(), errno is not checked after calling strtol(). I can imagine a PostgreSQL table with more than 9223372036854775807 rows (because PostgreSQL supports unlimited number of rows), so we should raise an exception in case of overflow.

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

No branches or pull requests

1 participant