diff options
author | Ed Maste <emaste@FreeBSD.org> | 2024-10-23 13:41:51 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2024-10-23 17:11:14 +0000 |
commit | 0953460ce149e6f384aafbcb1e6213dfbf8f6a16 (patch) | |
tree | 5d2a676754cf093ae84f28f6152557f374134a9f /sys/mips/idt/(developers-only) | |
parent | 419249c1cacca2cfdf5128ead2873a9fd57f112e (diff) | |
download | src-0953460ce149e6f384aafbcb1e6213dfbf8f6a16.tar.gz src-0953460ce149e6f384aafbcb1e6213dfbf8f6a16.zip |
libc: fix access mode tests in fmemopen(3)
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
Diffstat (limited to 'sys/mips/idt/(developers-only)')
0 files changed, 0 insertions, 0 deletions