[clang] [clang][analyzer] fix crash when modelling 'getline' function in checkers (PR #145229)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 07:10:00 PDT 2025


================
@@ -1060,6 +1060,9 @@ impact the linker behaviour like the other `-static-*` flags.
 Crash and bug fixes
 ^^^^^^^^^^^^^^^^^^^
 
+- Fixed a crash in ``UnixAPIMisuseChecker`` and ``MallocChecker`` when analyzing
+  code with non-standard ``getline`` or ``getdelim`` function signatures.
----------------
steakhal wrote:

```suggestion
- Fixed a crash in ``UnixAPIMisuseChecker`` and ``MallocChecker`` when analyzing
  code with non-standard ``getline`` or ``getdelim`` function signatures. (#GH144884)
```

https://github.com/llvm/llvm-project/pull/145229


More information about the cfe-commits mailing list