You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Charlie Black (JIRA)" <ji...@apache.org> on 2019/03/20 21:01:00 UTC
[jira] [Resolved] (GEODE-5713) Fix Valgrind complaint about use of
uninitialized value
[ https://issues.apache.org/jira/browse/GEODE-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charlie Black resolved GEODE-5713.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
There is a merged pull request associated with this issue - If you find this closure in error please (re)open a ticket with the details and or submit a pull request with the fix.
> 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
> Fix For: 1.8.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)