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

GEODE-8754: Fix uninitialized variable in DataInput::ReadInternalObject #704

Merged
merged 6 commits into from Dec 3, 2020

Conversation

mmartell
Copy link
Contributor

@mmartell mmartell commented Dec 2, 2020

This fixes an uninitialized variable in the clicache code (DataInput::ReadInternalObject). Also, added a new serialization test (CompositeClassWithClassAsKey) since there were no existing tests that executed this function.

@lgtm-com
Copy link

lgtm-com bot commented Dec 2, 2020

This pull request introduces 4 alerts when merging 2b2e388 into 5f14294 - view on LGTM.com

new alerts:

  • 4 for Dereferenced variable may be null

clicache/integration-test2/SerializationTests.cs Outdated Show resolved Hide resolved
tests/javaobject/cli/TestClassC.java Outdated Show resolved Hide resolved
clicache/src/DataInput.cpp Show resolved Hide resolved
- cleanup dead code
- add ClassAsKey test
- fix LGTM alerts
tests/javaobject/cli/TestClassC.java Outdated Show resolved Hide resolved
@mmartell mmartell merged commit 03f6031 into apache:develop Dec 3, 2020
@mmartell mmartell deleted the GEODE-8754-readinternalobject branch January 9, 2021 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants