diff options
| author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-04-03 10:20:04 -0400 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-04-03 10:20:04 -0400 |
| commit | ac2a14343e81098c196cef5d67b52e440c05c230 (patch) | |
| tree | 7e6f4231239a7b525365274886c4f6ab6ab821e7 /debug | |
| parent | 7b3d8558d92a123743699c577704aab4a2f3d949 (diff) | |
| download | glibc-ac2a14343e81098c196cef5d67b52e440c05c230.tar.xz glibc-ac2a14343e81098c196cef5d67b52e440c05c230.zip | |
manual: Document __wur usage under _FORTIFY_SOURCE
The __warn_unused_result__ attribute is only enabled when fortification
is enabled. Mention that in the document. The rationale for this is
essentially to mitigate against CWE-252:
[1] https://cwe.mitre.org/data/definitions/252.html
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'debug')
0 files changed, 0 insertions, 0 deletions
