mirror of
https://github.com/opnsense/src.git
synced 2026-02-11 23:06:12 -05:00
Previously a stream opened as read-only could be written to. Add a test case for the fix. Also correct another incorrect access mode check that worked by accident, and improve the tests for that. PR: 281953 Reported by: Erkki Moorits, fuz Reviewed by: fuz, khng (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47265 (cherry picked from commit 0953460ce149e6f384aafbcb1e6213dfbf8f6a16) (cherry picked from commit 6b9f7133aba44189d9625c352bc2c2a59baf18ef) |
||
|---|---|---|
| .. | ||
| eintr_test.c | ||
| fdopen_test.c | ||
| flushlbuf_test.c | ||
| fmemopen2_test.c | ||
| fopen_test.c | ||
| freopen_test.c | ||
| getdelim_test.c | ||
| gets_s_test.c | ||
| Makefile | ||
| Makefile.depend | ||
| mkostemp_test.c | ||
| open_memstream2_test.c | ||
| open_wmemstream_test.c | ||
| perror_test.c | ||
| print_positional_test.c | ||
| printbasic_test.c | ||
| printfloat_test.c | ||
| scanfloat_test.c | ||
| snprintf_test.c | ||
| sscanf_test.c | ||
| swprintf_test.c | ||
| swscanf_test.c | ||