[
https://issues.apache.org/jira/browse/GEODE-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated GEODE-5713:
----------------------------------
Labels: pull-request-available (was: )
> Fix Valgrind complaint about use of uninitialized value
> -------------------------------------------------------
>
> Key: GEODE-5713
> URL: https://issues.apache.org/jira/browse/GEODE-5713
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Blake Bender
> Priority: Major
> Labels: pull-request-available
>
> On Linux, running Valgrind memcheck with the following simple app:
> {code:java}
> int main(int argc, const char* argv[]){
> std::string host = "localhost";
> int port = 10334;
> std::cout << "Connect to locator: " << host << "[" << port << "]\n";
> auto cacheFactory = CacheFactory();
> cacheFactory.set("log-level", "none");
> auto cache = cacheFactory.create();
> } {code}
>
> leads to a complaint about use of an uninitialized value in this loop in
> ResourceInst::writeSample:
> {code:java}
> for (int32_t i = 0; i < numOfDescps; i++) {
> ...
> }{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)