[PATCH] D137790: [clang][analyzer] Remove report of null stream from StreamChecker.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 19 06:12:30 PST 2022


balazske added a comment.

Here is a postgers result link <https://codechecker-demo.eastus.cloudapp.azure.com/Default/reports?review-status=Unreviewed&review-status=Confirmed%20bug&detection-status=New&detection-status=Reopened&detection-status=Unresolved&run=postgres_REL_13_0_baseline&is-unique=off&diff-type=New&checker-name=alpha.unix.StdCLibraryFunctionArgs>, results are from **StdCLibraryFunctionArgs** checker. The second report is in file relcache.c (it looks like that `data` pointer is really null but the `len` value is 0, and in this special case the data pointer should be ignored according to the standards). A FIXME for this case was added to the code in D135247 <https://reviews.llvm.org/D135247>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137790/new/

https://reviews.llvm.org/D137790



More information about the cfe-commits mailing list