[all-commits] [llvm/llvm-project] afa567: [Clang][Sema] Add fortify warnings for poll, ppoll...
Venkatesh Srinivasan via All-commits
all-commits at lists.llvm.org
Tue Sep 29 10:34:32 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afa5673a691929dc2af7b08b69cc6541d3d1f064
https://github.com/llvm/llvm-project/commit/afa5673a691929dc2af7b08b69cc6541d3d1f064
Author: Venkatesh Srinivasan <156861430+venk-ks at users.noreply.github.com>
Date: 2026-09-29 (Tue, 29 Sep 2026)
Changed paths:
Log Message:
-----------
[Clang][Sema] Add fortify warnings for poll, ppoll, and ppoll64 (#226261)
Add `-Wfortify-source` diagnostics for `poll`, `ppoll`, and `ppoll64` when the byte size required for `nfds` descriptors (`nfds * sizeof(*fds)`) exceeds the destination `fds` buffer size.
Supersedes the `poll` portion of #177286 (similar to #198130 for `umask`).
Part of #142230
Assisted-by: Gemini
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list