curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

scan-build-11 warnings

From: Daniel Stenberg via curl-library <>
Date: Sat, 8 May 2021 12:14:39 +0200 (CEST)

Hi friends!

I ran scan-build-11 against the current git master curl code and it generates
two warnings that I just cannot understand and at the same time I cannot
easily silence.

We use scan-build in the CI (travis), but that runs an older version that
doesn't seem to warn for these issues. No other code analyzer has warned on
these ones either.

For all I can tell, these are false positives. Can *you* find an actual
problem and fix?

scan-build offers no (good) way to individually switch off false positives!

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2021-05-08