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

Adding a timeout to fix infinite looping on corrupt bdb database files. #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhdesmond
Copy link

Issue #37

Description of changes:

Adds a context object to the ListPackages() and related methods (e.g. Read() so that a timeout can be implemented for the underlying bdb database parsing. The rpmdb interface is backwards-compatible, and the context timeout is not implemented for other database file types as there the relevant issue does not apply.

Note: the Read() interface change is not backwards-compatible, but it seems like an internal method for underlying database parsing.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, as specified by the MIT License.

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.

1 participant