diff options
| author | Sertonix | 2026-04-30 12:32:01 +0200 |
|---|---|---|
| committer | Julien Voisin | 2026-04-30 12:57:02 +0200 |
| commit | b9121e4d679b5fccb69abcb58b05a6be5c7191dc (patch) | |
| tree | ea81c5455d0961eb4af49118a77e4677efff2510 /include/stdio.h | |
| parent | da5d5b242669f685e187d3356dcc083087624d56 (diff) | |
Change access of first fgets argument to write_only
Fixes bf242b15e1f7
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index 7a8ef05..468bf82 100644 --- a/include/stdio.h +++ b/include/stdio.h | |||
| @@ -37,7 +37,7 @@ extern "C" { | |||
| 37 | #undef snprintf | 37 | #undef snprintf |
| 38 | #undef sprintf | 38 | #undef sprintf |
| 39 | 39 | ||
| 40 | __fortify_access(read_write, 1, 2) | 40 | __fortify_access(write_only, 1, 2) |
| 41 | __fortify_access(read_only, 3) | 41 | __fortify_access(read_only, 3) |
| 42 | _FORTIFY_FN(fgets) char *fgets(char * _FORTIFY_POS0 __s, int __n, FILE *__f) | 42 | _FORTIFY_FN(fgets) char *fgets(char * _FORTIFY_POS0 __s, int __n, FILE *__f) |
| 43 | { | 43 | { |
