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

Add built-in error detection code in serialized engine #165

Merged
merged 1 commit into from May 30, 2019

Conversation

Projects
None yet
1 participant
@remusao
Copy link
Member

commented May 29, 2019

To prevent un-noticed data corruptions of the serialized adblocker, FiltersEngine.serialize now automatically includes a crc32 checksum and FiltersEngine.deserialize will automatically check integrity of the given serialized engine. Any mismatch will raise an exception like when the version of the adblocker does not match between the serialized engine and the code using to load it.

@remusao remusao force-pushed the remusao:engine-checksum branch from a1890e7 to 40cf3d2 May 30, 2019

@remusao remusao merged commit f20816e into cliqz-oss:master May 30, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@remusao remusao referenced this pull request Jun 5, 2019

Merged

Release v0.10.0 #173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.