[all-commits] [llvm/llvm-project] e27104: [clang][analyzer] StdLibraryFunctionsChecker: Allo...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Wed Jul 19 00:58:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e271049bc6a1408aa4e53771321117b3da6440ab
      https://github.com/llvm/llvm-project/commit/e271049bc6a1408aa4e53771321117b3da6440ab
  Author: Balázs Kéri <balazs.keri at ericsson.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
    M clang/test/Analysis/std-c-library-functions-arg-constraints.c

  Log Message:
  -----------
  [clang][analyzer] StdLibraryFunctionsChecker: Allow NULL buffer in `fread` and `fwrite` if size is zero.

Reviewed By: donat.nagy

Differential Revision: https://reviews.llvm.org/D154509




More information about the All-commits mailing list