You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Blake Bender (JIRA)" <ji...@apache.org> on 2018/09/10 17:12:00 UTC
[jira] [Created] (GEODE-5713) Fix Valgrind complaint about use of
uninitialized value
Blake Bender created GEODE-5713:
-----------------------------------
Summary: 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
On Linux, running Valgrind memcheck with the following simple app:
```
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();
}
```
leads to a complaint about use of an uninitialized value in this loop in ResourceInst::writeSample:
```
for (int32_t i = 0; i < numOfDescps; i++) {
...
}
```
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)