Skip to content
This repository has been archived by the owner. It is now read-only.

Added a check on deserialization #43

Merged
merged 1 commit into from Dec 29, 2016

Conversation

@SergeyZhukovsky
Copy link
Member

SergeyZhukovsky commented Dec 28, 2016

No description provided.

@@ -813,7 +815,7 @@ TEST(serializationTests, serializationTests2) {
char * buffer = parser.serialize(&size);

ABPFilterParser parser2;
parser2.deserialize(buffer);
CHECK(parser2.deserialize(buffer));

This comment has been minimized.

Copy link
@bbondy

bbondy Dec 29, 2016

Member

It would be good to add a check that fails to make sure it returns false but this is all good so I'm merging. Thanks!

@bbondy bbondy merged commit 118332f into brave:master Dec 29, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.