On 08/04/2015 09:48 AM, Bruce Cran wrote:
I don't know how many of these are false positives, but I ran clang's static analyzer and it found a few potential issues. e.g.: client.c:1577:3: warning: Use of memory after it is freed fio_client_dec_jobs_eta(eta, ops->eta); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client.c:1579:2: warning: Use of memory after it is freed dprint(FD_NET, "client: requested eta tag %p\n", eta); I've attached a copy of the build log, which includes the other warnings.
I don't think that's a real issue. I changed the code to make it explicit, hopefully that'll help clang as well.
-- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html